diff --git a/provider/cmd/pulumi-resource-datadog/bridge-metadata.json b/provider/cmd/pulumi-resource-datadog/bridge-metadata.json index 82bbb9055..edf91e29e 100644 --- a/provider/cmd/pulumi-resource-datadog/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-datadog/bridge-metadata.json @@ -2147,6 +2147,26 @@ } } } + }, + "text_formats": { + "maxItemsOne": false, + "elem": { + "fields": { + "text_format": { + "maxItemsOne": false, + "elem": { + "fields": { + "match": { + "maxItemsOne": true + }, + "replace": { + "maxItemsOne": true + } + } + } + } + } + } } } } @@ -3521,6 +3541,26 @@ } } } + }, + "text_formats": { + "maxItemsOne": false, + "elem": { + "fields": { + "text_format": { + "maxItemsOne": false, + "elem": { + "fields": { + "match": { + "maxItemsOne": true + }, + "replace": { + "maxItemsOne": true + } + } + } + } + } + } } } } @@ -5015,6 +5055,16 @@ } } } + }, + "style": { + "maxItemsOne": false, + "elem": { + "fields": { + "display": { + "maxItemsOne": false + } + } + } } } } @@ -6052,6 +6102,16 @@ } } } + }, + "style": { + "maxItemsOne": false, + "elem": { + "fields": { + "display": { + "maxItemsOne": false + } + } + } } } } @@ -7055,6 +7115,26 @@ } } } + }, + "text_formats": { + "maxItemsOne": false, + "elem": { + "fields": { + "text_format": { + "maxItemsOne": false, + "elem": { + "fields": { + "match": { + "maxItemsOne": true + }, + "replace": { + "maxItemsOne": true + } + } + } + } + } + } } } } @@ -8429,6 +8509,26 @@ } } } + }, + "text_formats": { + "maxItemsOne": false, + "elem": { + "fields": { + "text_format": { + "maxItemsOne": false, + "elem": { + "fields": { + "match": { + "maxItemsOne": true + }, + "replace": { + "maxItemsOne": true + } + } + } + } + } + } } } } @@ -9923,6 +10023,16 @@ } } } + }, + "style": { + "maxItemsOne": false, + "elem": { + "fields": { + "display": { + "maxItemsOne": false + } + } + } } } } @@ -10960,6 +11070,16 @@ } } } + }, + "style": { + "maxItemsOne": false, + "elem": { + "fields": { + "display": { + "maxItemsOne": false + } + } + } } } } @@ -13312,6 +13432,26 @@ } } } + }, + "text_formats": { + "maxItemsOne": false, + "elem": { + "fields": { + "text_format": { + "maxItemsOne": false, + "elem": { + "fields": { + "match": { + "maxItemsOne": true + }, + "replace": { + "maxItemsOne": true + } + } + } + } + } + } } } } @@ -14866,6 +15006,16 @@ } } } + }, + "style": { + "maxItemsOne": false, + "elem": { + "fields": { + "display": { + "maxItemsOne": false + } + } + } } } } diff --git a/provider/cmd/pulumi-resource-datadog/schema.json b/provider/cmd/pulumi-resource-datadog/schema.json index 549fb396a..091cb0544 100644 --- a/provider/cmd/pulumi-resource-datadog/schema.json +++ b/provider/cmd/pulumi-resource-datadog/schema.json @@ -4327,6 +4327,13 @@ "securityQuery": { "$ref": "#/types/datadog:index/DashboardWidgetSecurityQuery:DashboardWidgetSecurityQuery", "description": "The query to use for this widget.\n" + }, + "textFormats": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormat:DashboardWidgetQueryTableDefinitionRequestTextFormat" + }, + "description": "Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change.\n" } }, "type": "object" @@ -5005,6 +5012,84 @@ "sloId" ] }, + "datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormat:DashboardWidgetQueryTableDefinitionRequestTextFormat": { + "properties": { + "textFormats": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat:DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat" + }, + "description": "The text format to apply to the items in a table widget column.\n" + } + }, + "type": "object" + }, + "datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat:DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat": { + "properties": { + "customBgColor": { + "type": "string", + "description": "The custom color palette to apply to the background.\n" + }, + "customFgColor": { + "type": "string", + "description": "The custom color palette to apply to the foreground text.\n" + }, + "match": { + "$ref": "#/types/datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch:DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch", + "description": "Match rule for the table widget text format.\n" + }, + "palette": { + "type": "string", + "description": "The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`.\n" + }, + "replace": { + "$ref": "#/types/datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace:DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace", + "description": "Match rule for the table widget text format.\n" + } + }, + "type": "object", + "required": [ + "match" + ] + }, + "datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch:DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch": { + "properties": { + "type": { + "type": "string", + "description": "Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`.\n" + }, + "value": { + "type": "string", + "description": "Table Widget Match String.\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ] + }, + "datadog:index/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace:DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace": { + "properties": { + "substring": { + "type": "string", + "description": "Text that will be replaced. Must be used with type `substring`.\n" + }, + "type": { + "type": "string", + "description": "Table widget text format replace all type.\n" + }, + "with": { + "type": "string", + "description": "Table Widget Match String.\n" + } + }, + "type": "object", + "required": [ + "type", + "with" + ] + }, "datadog:index/DashboardWidgetQueryValueDefinition:DashboardWidgetQueryValueDefinition": { "properties": { "autoscale": { @@ -9338,6 +9423,13 @@ }, "description": "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`, `apm_query`, `log_query`, `rum_query`, `security_query` or `process_query` is required within the `request` block).\n" }, + "styles": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/DashboardWidgetToplistDefinitionStyle:DashboardWidgetToplistDefinitionStyle" + }, + "description": "The style of the widget\n" + }, "title": { "type": "string", "description": "The title of the widget.\n" @@ -10158,6 +10250,34 @@ }, "type": "object" }, + "datadog:index/DashboardWidgetToplistDefinitionStyle:DashboardWidgetToplistDefinitionStyle": { + "properties": { + "displays": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/DashboardWidgetToplistDefinitionStyleDisplay:DashboardWidgetToplistDefinitionStyleDisplay" + }, + "description": "The display mode for the widget.\n" + }, + "palette": { + "type": "string", + "description": "The color palette for the widget.\n" + } + }, + "type": "object" + }, + "datadog:index/DashboardWidgetToplistDefinitionStyleDisplay:DashboardWidgetToplistDefinitionStyleDisplay": { + "properties": { + "type": { + "type": "string", + "description": "The display type for the widget.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, "datadog:index/DashboardWidgetTopologyMapDefinition:DashboardWidgetTopologyMapDefinition": { "properties": { "customLinks": { @@ -18734,6 +18854,13 @@ "securityQuery": { "$ref": "#/types/datadog:index/PowerpackWidgetQueryTableDefinitionRequestSecurityQuery:PowerpackWidgetQueryTableDefinitionRequestSecurityQuery", "description": "The query to use for this widget.\n" + }, + "textFormats": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormat:PowerpackWidgetQueryTableDefinitionRequestTextFormat" + }, + "description": "Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change.\n" } }, "type": "object" @@ -19860,6 +19987,84 @@ "aggregation" ] }, + "datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormat:PowerpackWidgetQueryTableDefinitionRequestTextFormat": { + "properties": { + "textFormats": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat:PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat" + }, + "description": "The text format to apply to the items in a table widget column.\n" + } + }, + "type": "object" + }, + "datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat:PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat": { + "properties": { + "customBgColor": { + "type": "string", + "description": "The custom color palette to apply to the background.\n" + }, + "customFgColor": { + "type": "string", + "description": "The custom color palette to apply to the foreground text.\n" + }, + "match": { + "$ref": "#/types/datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch:PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch", + "description": "Match rule for the table widget text format.\n" + }, + "palette": { + "type": "string", + "description": "The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`.\n" + }, + "replace": { + "$ref": "#/types/datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace:PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace", + "description": "Match rule for the table widget text format.\n" + } + }, + "type": "object", + "required": [ + "match" + ] + }, + "datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch:PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch": { + "properties": { + "type": { + "type": "string", + "description": "Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`.\n" + }, + "value": { + "type": "string", + "description": "Table Widget Match String.\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ] + }, + "datadog:index/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace:PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace": { + "properties": { + "substring": { + "type": "string", + "description": "Text that will be replaced. Must be used with type `substring`.\n" + }, + "type": { + "type": "string", + "description": "Table widget text format replace all type.\n" + }, + "with": { + "type": "string", + "description": "Table Widget Match String.\n" + } + }, + "type": "object", + "required": [ + "type", + "with" + ] + }, "datadog:index/PowerpackWidgetQueryValueDefinition:PowerpackWidgetQueryValueDefinition": { "properties": { "autoscale": { @@ -26029,6 +26234,13 @@ }, "description": "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`, `apm_query`, `log_query`, `rum_query`, `security_query` or `process_query` is required within the `request` block).\n" }, + "styles": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/PowerpackWidgetToplistDefinitionStyle:PowerpackWidgetToplistDefinitionStyle" + }, + "description": "The style of the widget\n" + }, "title": { "type": "string", "description": "The title of the widget.\n" @@ -27297,6 +27509,34 @@ }, "type": "object" }, + "datadog:index/PowerpackWidgetToplistDefinitionStyle:PowerpackWidgetToplistDefinitionStyle": { + "properties": { + "displays": { + "type": "array", + "items": { + "$ref": "#/types/datadog:index/PowerpackWidgetToplistDefinitionStyleDisplay:PowerpackWidgetToplistDefinitionStyleDisplay" + }, + "description": "The display mode for the widget.\n" + }, + "palette": { + "type": "string", + "description": "The color palette for the widget.\n" + } + }, + "type": "object" + }, + "datadog:index/PowerpackWidgetToplistDefinitionStyleDisplay:PowerpackWidgetToplistDefinitionStyleDisplay": { + "properties": { + "type": { + "type": "string", + "description": "The display type for the widget.\n" + } + }, + "type": "object", + "required": [ + "type" + ] + }, "datadog:index/PowerpackWidgetTopologyMapDefinition:PowerpackWidgetTopologyMapDefinition": { "properties": { "customLinks": { @@ -28922,6 +29162,10 @@ }, "datadog:index/SyntheticsTestApiStepAssertion:SyntheticsTestApiStepAssertion": { "properties": { + "code": { + "type": "string", + "description": "If assertion type is `javascript`, this is the JavaScript code that performs the assertions.\n" + }, "operator": { "type": "string", "description": "Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)).\n" @@ -28952,12 +29196,11 @@ }, "type": { "type": "string", - "description": "Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`.\n" + "description": "Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`.\n" } }, "type": "object", "required": [ - "operator", "type" ] }, @@ -29372,6 +29615,10 @@ }, "datadog:index/SyntheticsTestAssertion:SyntheticsTestAssertion": { "properties": { + "code": { + "type": "string", + "description": "If assertion type is `javascript`, this is the JavaScript code that performs the assertions.\n" + }, "operator": { "type": "string", "description": "Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)).\n" @@ -29402,12 +29649,11 @@ }, "type": { "type": "string", - "description": "Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`.\n" + "description": "Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`.\n" } }, "type": "object", "required": [ - "operator", "type" ] }, @@ -29697,7 +29943,7 @@ }, "type": { "type": "string", - "description": "Type of test configuration variable. Valid values are `global`, `text`.\n" + "description": "Type of test configuration variable. Valid values are `global`, `text`, `email`.\n" } }, "type": "object", @@ -30430,13 +30676,17 @@ }, "description": "Logs filter\n" }, + "flexRetentionDays": { + "type": "integer", + "description": "The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\n" + }, "name": { "type": "string", "description": "The name of the index.\n" }, "retentionDays": { "type": "integer", - "description": "The number of days before logs are deleted from this index.\n" + "description": "The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\n" } }, "type": "object", @@ -30446,6 +30696,7 @@ "dailyLimitWarningThresholdPercentage", "exclusionFilters", "filters", + "flexRetentionDays", "name", "retentionDays" ], @@ -34756,7 +35007,7 @@ } }, "datadog:index/logsIndex:LogsIndex": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// A sample Datadog logs index resource definition.\nconst sampleIndex = new datadog.LogsIndex(\"sample_index\", {\n name: \"your index\",\n dailyLimit: 200000,\n dailyLimitReset: {\n resetTime: \"14:00\",\n resetUtcOffset: \"+02:00\",\n },\n dailyLimitWarningThresholdPercentage: 50,\n retentionDays: 7,\n filters: [{\n query: \"*\",\n }],\n exclusionFilters: [\n {\n name: \"Filter coredns logs\",\n isEnabled: true,\n filters: [{\n query: \"app:coredns\",\n sampleRate: 0.97,\n }],\n },\n {\n name: \"Kubernetes apiserver\",\n isEnabled: true,\n filters: [{\n query: \"service:kube_apiserver\",\n sampleRate: 1,\n }],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# A sample Datadog logs index resource definition.\nsample_index = datadog.LogsIndex(\"sample_index\",\n name=\"your index\",\n daily_limit=200000,\n daily_limit_reset={\n \"reset_time\": \"14:00\",\n \"reset_utc_offset\": \"+02:00\",\n },\n daily_limit_warning_threshold_percentage=50,\n retention_days=7,\n filters=[{\n \"query\": \"*\",\n }],\n exclusion_filters=[\n {\n \"name\": \"Filter coredns logs\",\n \"is_enabled\": True,\n \"filters\": [{\n \"query\": \"app:coredns\",\n \"sample_rate\": 0.97,\n }],\n },\n {\n \"name\": \"Kubernetes apiserver\",\n \"is_enabled\": True,\n \"filters\": [{\n \"query\": \"service:kube_apiserver\",\n \"sample_rate\": 1,\n }],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // A sample Datadog logs index resource definition.\n var sampleIndex = new Datadog.LogsIndex(\"sample_index\", new()\n {\n Name = \"your index\",\n DailyLimit = 200000,\n DailyLimitReset = new Datadog.Inputs.LogsIndexDailyLimitResetArgs\n {\n ResetTime = \"14:00\",\n ResetUtcOffset = \"+02:00\",\n },\n DailyLimitWarningThresholdPercentage = 50,\n RetentionDays = 7,\n Filters = new[]\n {\n new Datadog.Inputs.LogsIndexFilterArgs\n {\n Query = \"*\",\n },\n },\n ExclusionFilters = new[]\n {\n new Datadog.Inputs.LogsIndexExclusionFilterArgs\n {\n Name = \"Filter coredns logs\",\n IsEnabled = true,\n Filters = new[]\n {\n new Datadog.Inputs.LogsIndexExclusionFilterFilterArgs\n {\n Query = \"app:coredns\",\n SampleRate = 0.97,\n },\n },\n },\n new Datadog.Inputs.LogsIndexExclusionFilterArgs\n {\n Name = \"Kubernetes apiserver\",\n IsEnabled = true,\n Filters = new[]\n {\n new Datadog.Inputs.LogsIndexExclusionFilterFilterArgs\n {\n Query = \"service:kube_apiserver\",\n SampleRate = 1,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// A sample Datadog logs index resource definition.\n\t\t_, err := datadog.NewLogsIndex(ctx, \"sample_index\", \u0026datadog.LogsIndexArgs{\n\t\t\tName: pulumi.String(\"your index\"),\n\t\t\tDailyLimit: pulumi.Int(200000),\n\t\t\tDailyLimitReset: \u0026datadog.LogsIndexDailyLimitResetArgs{\n\t\t\t\tResetTime: pulumi.String(\"14:00\"),\n\t\t\t\tResetUtcOffset: pulumi.String(\"+02:00\"),\n\t\t\t},\n\t\t\tDailyLimitWarningThresholdPercentage: pulumi.Float64(50),\n\t\t\tRetentionDays: pulumi.Int(7),\n\t\t\tFilters: datadog.LogsIndexFilterArray{\n\t\t\t\t\u0026datadog.LogsIndexFilterArgs{\n\t\t\t\t\tQuery: pulumi.String(\"*\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tExclusionFilters: datadog.LogsIndexExclusionFilterArray{\n\t\t\t\t\u0026datadog.LogsIndexExclusionFilterArgs{\n\t\t\t\t\tName: pulumi.String(\"Filter coredns logs\"),\n\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\tFilters: datadog.LogsIndexExclusionFilterFilterArray{\n\t\t\t\t\t\t\u0026datadog.LogsIndexExclusionFilterFilterArgs{\n\t\t\t\t\t\t\tQuery: pulumi.String(\"app:coredns\"),\n\t\t\t\t\t\t\tSampleRate: pulumi.Float64(0.97),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsIndexExclusionFilterArgs{\n\t\t\t\t\tName: pulumi.String(\"Kubernetes apiserver\"),\n\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\tFilters: datadog.LogsIndexExclusionFilterFilterArray{\n\t\t\t\t\t\t\u0026datadog.LogsIndexExclusionFilterFilterArgs{\n\t\t\t\t\t\t\tQuery: pulumi.String(\"service:kube_apiserver\"),\n\t\t\t\t\t\t\tSampleRate: pulumi.Float64(1),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.LogsIndex;\nimport com.pulumi.datadog.LogsIndexArgs;\nimport com.pulumi.datadog.inputs.LogsIndexDailyLimitResetArgs;\nimport com.pulumi.datadog.inputs.LogsIndexFilterArgs;\nimport com.pulumi.datadog.inputs.LogsIndexExclusionFilterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // A sample Datadog logs index resource definition.\n var sampleIndex = new LogsIndex(\"sampleIndex\", LogsIndexArgs.builder()\n .name(\"your index\")\n .dailyLimit(200000)\n .dailyLimitReset(LogsIndexDailyLimitResetArgs.builder()\n .resetTime(\"14:00\")\n .resetUtcOffset(\"+02:00\")\n .build())\n .dailyLimitWarningThresholdPercentage(50)\n .retentionDays(7)\n .filters(LogsIndexFilterArgs.builder()\n .query(\"*\")\n .build())\n .exclusionFilters( \n LogsIndexExclusionFilterArgs.builder()\n .name(\"Filter coredns logs\")\n .isEnabled(true)\n .filters(LogsIndexExclusionFilterFilterArgs.builder()\n .query(\"app:coredns\")\n .sampleRate(0.97)\n .build())\n .build(),\n LogsIndexExclusionFilterArgs.builder()\n .name(\"Kubernetes apiserver\")\n .isEnabled(true)\n .filters(LogsIndexExclusionFilterFilterArgs.builder()\n .query(\"service:kube_apiserver\")\n .sampleRate(1)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # A sample Datadog logs index resource definition.\n sampleIndex:\n type: datadog:LogsIndex\n name: sample_index\n properties:\n name: your index\n dailyLimit: 200000\n dailyLimitReset:\n resetTime: 14:00\n resetUtcOffset: +02:00\n dailyLimitWarningThresholdPercentage: 50\n retentionDays: 7\n filters:\n - query: '*'\n exclusionFilters:\n - name: Filter coredns logs\n isEnabled: true\n filters:\n - query: app:coredns\n sampleRate: 0.97\n - name: Kubernetes apiserver\n isEnabled: true\n filters:\n - query: service:kube_apiserver\n sampleRate: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/logsIndex:LogsIndex name\u003e \u003cindexName\u003e\n```\n\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as datadog from \"@pulumi/datadog\";\n\n// A sample Datadog logs index resource definition.\nconst sampleIndex = new datadog.LogsIndex(\"sample_index\", {\n name: \"your index\",\n dailyLimit: 200000,\n dailyLimitReset: {\n resetTime: \"14:00\",\n resetUtcOffset: \"+02:00\",\n },\n dailyLimitWarningThresholdPercentage: 50,\n retentionDays: 7,\n flexRetentionDays: 180,\n filters: [{\n query: \"*\",\n }],\n exclusionFilters: [\n {\n name: \"Filter coredns logs\",\n isEnabled: true,\n filters: [{\n query: \"app:coredns\",\n sampleRate: 0.97,\n }],\n },\n {\n name: \"Kubernetes apiserver\",\n isEnabled: true,\n filters: [{\n query: \"service:kube_apiserver\",\n sampleRate: 1,\n }],\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_datadog as datadog\n\n# A sample Datadog logs index resource definition.\nsample_index = datadog.LogsIndex(\"sample_index\",\n name=\"your index\",\n daily_limit=200000,\n daily_limit_reset={\n \"reset_time\": \"14:00\",\n \"reset_utc_offset\": \"+02:00\",\n },\n daily_limit_warning_threshold_percentage=50,\n retention_days=7,\n flex_retention_days=180,\n filters=[{\n \"query\": \"*\",\n }],\n exclusion_filters=[\n {\n \"name\": \"Filter coredns logs\",\n \"is_enabled\": True,\n \"filters\": [{\n \"query\": \"app:coredns\",\n \"sample_rate\": 0.97,\n }],\n },\n {\n \"name\": \"Kubernetes apiserver\",\n \"is_enabled\": True,\n \"filters\": [{\n \"query\": \"service:kube_apiserver\",\n \"sample_rate\": 1,\n }],\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Datadog = Pulumi.Datadog;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // A sample Datadog logs index resource definition.\n var sampleIndex = new Datadog.LogsIndex(\"sample_index\", new()\n {\n Name = \"your index\",\n DailyLimit = 200000,\n DailyLimitReset = new Datadog.Inputs.LogsIndexDailyLimitResetArgs\n {\n ResetTime = \"14:00\",\n ResetUtcOffset = \"+02:00\",\n },\n DailyLimitWarningThresholdPercentage = 50,\n RetentionDays = 7,\n FlexRetentionDays = 180,\n Filters = new[]\n {\n new Datadog.Inputs.LogsIndexFilterArgs\n {\n Query = \"*\",\n },\n },\n ExclusionFilters = new[]\n {\n new Datadog.Inputs.LogsIndexExclusionFilterArgs\n {\n Name = \"Filter coredns logs\",\n IsEnabled = true,\n Filters = new[]\n {\n new Datadog.Inputs.LogsIndexExclusionFilterFilterArgs\n {\n Query = \"app:coredns\",\n SampleRate = 0.97,\n },\n },\n },\n new Datadog.Inputs.LogsIndexExclusionFilterArgs\n {\n Name = \"Kubernetes apiserver\",\n IsEnabled = true,\n Filters = new[]\n {\n new Datadog.Inputs.LogsIndexExclusionFilterFilterArgs\n {\n Query = \"service:kube_apiserver\",\n SampleRate = 1,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// A sample Datadog logs index resource definition.\n\t\t_, err := datadog.NewLogsIndex(ctx, \"sample_index\", \u0026datadog.LogsIndexArgs{\n\t\t\tName: pulumi.String(\"your index\"),\n\t\t\tDailyLimit: pulumi.Int(200000),\n\t\t\tDailyLimitReset: \u0026datadog.LogsIndexDailyLimitResetArgs{\n\t\t\t\tResetTime: pulumi.String(\"14:00\"),\n\t\t\t\tResetUtcOffset: pulumi.String(\"+02:00\"),\n\t\t\t},\n\t\t\tDailyLimitWarningThresholdPercentage: pulumi.Float64(50),\n\t\t\tRetentionDays: pulumi.Int(7),\n\t\t\tFlexRetentionDays: pulumi.Int(180),\n\t\t\tFilters: datadog.LogsIndexFilterArray{\n\t\t\t\t\u0026datadog.LogsIndexFilterArgs{\n\t\t\t\t\tQuery: pulumi.String(\"*\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tExclusionFilters: datadog.LogsIndexExclusionFilterArray{\n\t\t\t\t\u0026datadog.LogsIndexExclusionFilterArgs{\n\t\t\t\t\tName: pulumi.String(\"Filter coredns logs\"),\n\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\tFilters: datadog.LogsIndexExclusionFilterFilterArray{\n\t\t\t\t\t\t\u0026datadog.LogsIndexExclusionFilterFilterArgs{\n\t\t\t\t\t\t\tQuery: pulumi.String(\"app:coredns\"),\n\t\t\t\t\t\t\tSampleRate: pulumi.Float64(0.97),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026datadog.LogsIndexExclusionFilterArgs{\n\t\t\t\t\tName: pulumi.String(\"Kubernetes apiserver\"),\n\t\t\t\t\tIsEnabled: pulumi.Bool(true),\n\t\t\t\t\tFilters: datadog.LogsIndexExclusionFilterFilterArray{\n\t\t\t\t\t\t\u0026datadog.LogsIndexExclusionFilterFilterArgs{\n\t\t\t\t\t\t\tQuery: pulumi.String(\"service:kube_apiserver\"),\n\t\t\t\t\t\t\tSampleRate: pulumi.Float64(1),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.datadog.LogsIndex;\nimport com.pulumi.datadog.LogsIndexArgs;\nimport com.pulumi.datadog.inputs.LogsIndexDailyLimitResetArgs;\nimport com.pulumi.datadog.inputs.LogsIndexFilterArgs;\nimport com.pulumi.datadog.inputs.LogsIndexExclusionFilterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // A sample Datadog logs index resource definition.\n var sampleIndex = new LogsIndex(\"sampleIndex\", LogsIndexArgs.builder()\n .name(\"your index\")\n .dailyLimit(200000)\n .dailyLimitReset(LogsIndexDailyLimitResetArgs.builder()\n .resetTime(\"14:00\")\n .resetUtcOffset(\"+02:00\")\n .build())\n .dailyLimitWarningThresholdPercentage(50)\n .retentionDays(7)\n .flexRetentionDays(180)\n .filters(LogsIndexFilterArgs.builder()\n .query(\"*\")\n .build())\n .exclusionFilters( \n LogsIndexExclusionFilterArgs.builder()\n .name(\"Filter coredns logs\")\n .isEnabled(true)\n .filters(LogsIndexExclusionFilterFilterArgs.builder()\n .query(\"app:coredns\")\n .sampleRate(0.97)\n .build())\n .build(),\n LogsIndexExclusionFilterArgs.builder()\n .name(\"Kubernetes apiserver\")\n .isEnabled(true)\n .filters(LogsIndexExclusionFilterFilterArgs.builder()\n .query(\"service:kube_apiserver\")\n .sampleRate(1)\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n # A sample Datadog logs index resource definition.\n sampleIndex:\n type: datadog:LogsIndex\n name: sample_index\n properties:\n name: your index\n dailyLimit: 200000\n dailyLimitReset:\n resetTime: 14:00\n resetUtcOffset: +02:00\n dailyLimitWarningThresholdPercentage: 50\n retentionDays: 7\n flexRetentionDays: 180\n filters:\n - query: '*'\n exclusionFilters:\n - name: Filter coredns logs\n isEnabled: true\n filters:\n - query: app:coredns\n sampleRate: 0.97\n - name: Kubernetes apiserver\n isEnabled: true\n filters:\n - query: service:kube_apiserver\n sampleRate: 1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import datadog:index/logsIndex:LogsIndex name\u003e \u003cindexName\u003e\n```\n\n", "properties": { "dailyLimit": { "type": "integer", @@ -34788,13 +35039,17 @@ }, "description": "Logs filter\n" }, + "flexRetentionDays": { + "type": "integer", + "description": "The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\n" + }, "name": { "type": "string", "description": "The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created.\n" }, "retentionDays": { "type": "integer", - "description": "The number of days before logs are deleted from this index.\n" + "description": "The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\n" } }, "required": [ @@ -34802,6 +35057,7 @@ "dailyLimitWarningThresholdPercentage", "disableDailyLimit", "filters", + "flexRetentionDays", "name", "retentionDays" ], @@ -34836,6 +35092,10 @@ }, "description": "Logs filter\n" }, + "flexRetentionDays": { + "type": "integer", + "description": "The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\n" + }, "name": { "type": "string", "description": "The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created.\n", @@ -34843,7 +35103,7 @@ }, "retentionDays": { "type": "integer", - "description": "The number of days before logs are deleted from this index.\n" + "description": "The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\n" } }, "requiredInputs": [ @@ -34883,6 +35143,10 @@ }, "description": "Logs filter\n" }, + "flexRetentionDays": { + "type": "integer", + "description": "The total number of days logs are stored in Standard and Flex Tier before being deleted from the index.\n" + }, "name": { "type": "string", "description": "The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created.\n", @@ -34890,7 +35154,7 @@ }, "retentionDays": { "type": "integer", - "description": "The number of days before logs are deleted from this index.\n" + "description": "The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index.\n" } }, "type": "object" diff --git a/provider/go.mod b/provider/go.mod index 24fa48504..365b6a7b0 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -39,7 +39,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/keyvault/internal v0.7.1 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect github.com/BurntSushi/toml v1.2.1 // indirect - github.com/DataDog/datadog-api-client-go/v2 v2.30.1-0.20240911195025-92128b15dc8c // indirect + github.com/DataDog/datadog-api-client-go/v2 v2.31.0 // indirect github.com/DataDog/zstd v1.5.2 // indirect github.com/Masterminds/goutils v1.1.1 // indirect github.com/Masterminds/semver v1.5.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index d72709db1..5b86d2c06 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1167,8 +1167,8 @@ github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03 github.com/BurntSushi/toml v1.2.1 h1:9F2/+DoOYIOksmaJFPw1tGFy1eDnIJXg+UHjuD8lTak= github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/DataDog/datadog-api-client-go/v2 v2.30.1-0.20240911195025-92128b15dc8c h1:+yokfxyjea3W7KpyCTeTIKqPFNeGEAubmI0RCO7sBdE= -github.com/DataDog/datadog-api-client-go/v2 v2.30.1-0.20240911195025-92128b15dc8c/go.mod h1:QKOu6vscsh87fMY1lHfLEmNSunyXImj8BUaUWJXOehc= +github.com/DataDog/datadog-api-client-go/v2 v2.31.0 h1:JfJhYlHfLzvauI8u6h23smTooWYe6quNhhg9gpTszWY= +github.com/DataDog/datadog-api-client-go/v2 v2.31.0/go.mod h1:d3tOEgUd2kfsr9uuHQdY+nXrWp4uikgTgVCPdKNK30U= github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8= github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= github.com/HdrHistogram/hdrhistogram-go v1.1.2 h1:5IcZpTvzydCQeHzK4Ef/D5rrSqwxob0t8PQPMybUNFM= diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestArgs.cs index 285224399..5f92ee84c 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestArgs.cs @@ -115,6 +115,18 @@ public InputList Que [Input("securityQuery")] public Input? SecurityQuery { get; set; } + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + public DashboardWidgetQueryTableDefinitionRequestArgs() { } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestGetArgs.cs index 228005ac8..ffe0515c3 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestGetArgs.cs @@ -115,6 +115,18 @@ public InputList [Input("securityQuery")] public Input? SecurityQuery { get; set; } + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + public DashboardWidgetQueryTableDefinitionRequestGetArgs() { } diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatArgs.cs new file mode 100644 index 000000000..ab2afbffe --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatArgs : global::Pulumi.ResourceArgs + { + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// The text format to apply to the items in a table widget column. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs.cs new file mode 100644 index 000000000..31be37f25 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs : global::Pulumi.ResourceArgs + { + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// The text format to apply to the items in a table widget column. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.cs new file mode 100644 index 000000000..e2861806c --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs : global::Pulumi.ResourceArgs + { + /// + /// The custom color palette to apply to the background. + /// + [Input("customBgColor")] + public Input? CustomBgColor { get; set; } + + /// + /// The custom color palette to apply to the foreground text. + /// + [Input("customFgColor")] + public Input? CustomFgColor { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("match", required: true)] + public Input Match { get; set; } = null!; + + /// + /// The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + /// + [Input("palette")] + public Input? Palette { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("replace")] + public Input? Replace { get; set; } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs.cs new file mode 100644 index 000000000..918c1da57 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The custom color palette to apply to the background. + /// + [Input("customBgColor")] + public Input? CustomBgColor { get; set; } + + /// + /// The custom color palette to apply to the foreground text. + /// + [Input("customFgColor")] + public Input? CustomFgColor { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("match", required: true)] + public Input Match { get; set; } = null!; + + /// + /// The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + /// + [Input("palette")] + public Input? Palette { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("replace")] + public Input? Replace { get; set; } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.cs new file mode 100644 index 000000000..d455b6ec2 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs : global::Pulumi.ResourceArgs + { + /// + /// Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs.cs new file mode 100644 index 000000000..9e7246dde --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.cs new file mode 100644 index 000000000..ca598e506 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Text that will be replaced. Must be used with type `substring`. + /// + [Input("substring")] + public Input? Substring { get; set; } + + /// + /// Table widget text format replace all type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("with", required: true)] + public Input With { get; set; } = null!; + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs.cs new file mode 100644 index 000000000..229839d9e --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Text that will be replaced. Must be used with type `substring`. + /// + [Input("substring")] + public Input? Substring { get; set; } + + /// + /// Table widget text format replace all type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("with", required: true)] + public Input With { get; set; } = null!; + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs() + { + } + public static new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs Empty => new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionArgs.cs index a1c3d9e19..286560ae4 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionArgs.cs @@ -42,6 +42,18 @@ public InputList Requests set => _requests = value; } + [Input("styles")] + private InputList? _styles; + + /// + /// The style of the widget + /// + public InputList Styles + { + get => _styles ?? (_styles = new InputList()); + set => _styles = value; + } + /// /// The title of the widget. /// diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionGetArgs.cs index 580b49561..471fd7dd5 100644 --- a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionGetArgs.cs +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionGetArgs.cs @@ -42,6 +42,18 @@ public InputList Requests set => _requests = value; } + [Input("styles")] + private InputList? _styles; + + /// + /// The style of the widget + /// + public InputList Styles + { + get => _styles ?? (_styles = new InputList()); + set => _styles = value; + } + /// /// The title of the widget. /// diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleArgs.cs new file mode 100644 index 000000000..94221e0e0 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetToplistDefinitionStyleArgs : global::Pulumi.ResourceArgs + { + [Input("displays")] + private InputList? _displays; + + /// + /// The display mode for the widget. + /// + public InputList Displays + { + get => _displays ?? (_displays = new InputList()); + set => _displays = value; + } + + /// + /// The color palette for the widget. + /// + [Input("palette")] + public Input? Palette { get; set; } + + public DashboardWidgetToplistDefinitionStyleArgs() + { + } + public static new DashboardWidgetToplistDefinitionStyleArgs Empty => new DashboardWidgetToplistDefinitionStyleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleDisplayArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleDisplayArgs.cs new file mode 100644 index 000000000..e66902ebb --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleDisplayArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetToplistDefinitionStyleDisplayArgs : global::Pulumi.ResourceArgs + { + /// + /// The display type for the widget. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public DashboardWidgetToplistDefinitionStyleDisplayArgs() + { + } + public static new DashboardWidgetToplistDefinitionStyleDisplayArgs Empty => new DashboardWidgetToplistDefinitionStyleDisplayArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleDisplayGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleDisplayGetArgs.cs new file mode 100644 index 000000000..a77c38698 --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleDisplayGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetToplistDefinitionStyleDisplayGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The display type for the widget. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public DashboardWidgetToplistDefinitionStyleDisplayGetArgs() + { + } + public static new DashboardWidgetToplistDefinitionStyleDisplayGetArgs Empty => new DashboardWidgetToplistDefinitionStyleDisplayGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleGetArgs.cs b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleGetArgs.cs new file mode 100644 index 000000000..12093227a --- /dev/null +++ b/sdk/dotnet/Inputs/DashboardWidgetToplistDefinitionStyleGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class DashboardWidgetToplistDefinitionStyleGetArgs : global::Pulumi.ResourceArgs + { + [Input("displays")] + private InputList? _displays; + + /// + /// The display mode for the widget. + /// + public InputList Displays + { + get => _displays ?? (_displays = new InputList()); + set => _displays = value; + } + + /// + /// The color palette for the widget. + /// + [Input("palette")] + public Input? Palette { get; set; } + + public DashboardWidgetToplistDefinitionStyleGetArgs() + { + } + public static new DashboardWidgetToplistDefinitionStyleGetArgs Empty => new DashboardWidgetToplistDefinitionStyleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.cs index 344cbd37c..10fa6a257 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.cs @@ -115,6 +115,18 @@ public InputList Que [Input("securityQuery")] public Input? SecurityQuery { get; set; } + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + public PowerpackWidgetQueryTableDefinitionRequestArgs() { } diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestGetArgs.cs index 440723c5e..bd5f8e57f 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestGetArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestGetArgs.cs @@ -115,6 +115,18 @@ public InputList [Input("securityQuery")] public Input? SecurityQuery { get; set; } + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + public PowerpackWidgetQueryTableDefinitionRequestGetArgs() { } diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs.cs new file mode 100644 index 000000000..f3b06b0ad --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs : global::Pulumi.ResourceArgs + { + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// The text format to apply to the items in a table widget column. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs.cs new file mode 100644 index 000000000..1f67f2acf --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs : global::Pulumi.ResourceArgs + { + [Input("textFormats")] + private InputList? _textFormats; + + /// + /// The text format to apply to the items in a table widget column. + /// + public InputList TextFormats + { + get => _textFormats ?? (_textFormats = new InputList()); + set => _textFormats = value; + } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.cs new file mode 100644 index 000000000..ab7eb60ea --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs : global::Pulumi.ResourceArgs + { + /// + /// The custom color palette to apply to the background. + /// + [Input("customBgColor")] + public Input? CustomBgColor { get; set; } + + /// + /// The custom color palette to apply to the foreground text. + /// + [Input("customFgColor")] + public Input? CustomFgColor { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("match", required: true)] + public Input Match { get; set; } = null!; + + /// + /// The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + /// + [Input("palette")] + public Input? Palette { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("replace")] + public Input? Replace { get; set; } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs.cs new file mode 100644 index 000000000..d27d315ca --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The custom color palette to apply to the background. + /// + [Input("customBgColor")] + public Input? CustomBgColor { get; set; } + + /// + /// The custom color palette to apply to the foreground text. + /// + [Input("customFgColor")] + public Input? CustomFgColor { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("match", required: true)] + public Input Match { get; set; } = null!; + + /// + /// The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + /// + [Input("palette")] + public Input? Palette { get; set; } + + /// + /// Match rule for the table widget text format. + /// + [Input("replace")] + public Input? Replace { get; set; } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.cs new file mode 100644 index 000000000..fd38a6cd2 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs : global::Pulumi.ResourceArgs + { + /// + /// Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs.cs new file mode 100644 index 000000000..9c0ad70ca --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.cs new file mode 100644 index 000000000..6151cb753 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs : global::Pulumi.ResourceArgs + { + /// + /// Text that will be replaced. Must be used with type `substring`. + /// + [Input("substring")] + public Input? Substring { get; set; } + + /// + /// Table widget text format replace all type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("with", required: true)] + public Input With { get; set; } = null!; + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs.cs new file mode 100644 index 000000000..dbdde8eb1 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Text that will be replaced. Must be used with type `substring`. + /// + [Input("substring")] + public Input? Substring { get; set; } + + /// + /// Table widget text format replace all type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Table Widget Match String. + /// + [Input("with", required: true)] + public Input With { get; set; } = null!; + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs() + { + } + public static new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs Empty => new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionArgs.cs index 07d260306..aef2587ae 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionArgs.cs @@ -42,6 +42,18 @@ public InputList Requests set => _requests = value; } + [Input("styles")] + private InputList? _styles; + + /// + /// The style of the widget + /// + public InputList Styles + { + get => _styles ?? (_styles = new InputList()); + set => _styles = value; + } + /// /// The title of the widget. /// diff --git a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionGetArgs.cs index 9032b08fe..912a86422 100644 --- a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionGetArgs.cs +++ b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionGetArgs.cs @@ -42,6 +42,18 @@ public InputList Requests set => _requests = value; } + [Input("styles")] + private InputList? _styles; + + /// + /// The style of the widget + /// + public InputList Styles + { + get => _styles ?? (_styles = new InputList()); + set => _styles = value; + } + /// /// The title of the widget. /// diff --git a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleArgs.cs new file mode 100644 index 000000000..33b87e2e2 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetToplistDefinitionStyleArgs : global::Pulumi.ResourceArgs + { + [Input("displays")] + private InputList? _displays; + + /// + /// The display mode for the widget. + /// + public InputList Displays + { + get => _displays ?? (_displays = new InputList()); + set => _displays = value; + } + + /// + /// The color palette for the widget. + /// + [Input("palette")] + public Input? Palette { get; set; } + + public PowerpackWidgetToplistDefinitionStyleArgs() + { + } + public static new PowerpackWidgetToplistDefinitionStyleArgs Empty => new PowerpackWidgetToplistDefinitionStyleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleDisplayArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleDisplayArgs.cs new file mode 100644 index 000000000..cfcc2348a --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleDisplayArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetToplistDefinitionStyleDisplayArgs : global::Pulumi.ResourceArgs + { + /// + /// The display type for the widget. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public PowerpackWidgetToplistDefinitionStyleDisplayArgs() + { + } + public static new PowerpackWidgetToplistDefinitionStyleDisplayArgs Empty => new PowerpackWidgetToplistDefinitionStyleDisplayArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleDisplayGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleDisplayGetArgs.cs new file mode 100644 index 000000000..b8604e774 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleDisplayGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetToplistDefinitionStyleDisplayGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The display type for the widget. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public PowerpackWidgetToplistDefinitionStyleDisplayGetArgs() + { + } + public static new PowerpackWidgetToplistDefinitionStyleDisplayGetArgs Empty => new PowerpackWidgetToplistDefinitionStyleDisplayGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleGetArgs.cs b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleGetArgs.cs new file mode 100644 index 000000000..e38b09752 --- /dev/null +++ b/sdk/dotnet/Inputs/PowerpackWidgetToplistDefinitionStyleGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Inputs +{ + + public sealed class PowerpackWidgetToplistDefinitionStyleGetArgs : global::Pulumi.ResourceArgs + { + [Input("displays")] + private InputList? _displays; + + /// + /// The display mode for the widget. + /// + public InputList Displays + { + get => _displays ?? (_displays = new InputList()); + set => _displays = value; + } + + /// + /// The color palette for the widget. + /// + [Input("palette")] + public Input? Palette { get; set; } + + public PowerpackWidgetToplistDefinitionStyleGetArgs() + { + } + public static new PowerpackWidgetToplistDefinitionStyleGetArgs Empty => new PowerpackWidgetToplistDefinitionStyleGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionArgs.cs b/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionArgs.cs index 3f46c7bc3..1c75e9a4e 100644 --- a/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionArgs.cs +++ b/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.Datadog.Inputs public sealed class SyntheticsTestApiStepAssertionArgs : global::Pulumi.ResourceArgs { + /// + /// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + /// + [Input("code")] + public Input? Code { get; set; } + /// /// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). /// - [Input("operator", required: true)] - public Input Operator { get; set; } = null!; + [Input("operator")] + public Input? Operator { get; set; } /// /// If assertion type is `header`, this is the header name. @@ -55,7 +61,7 @@ public sealed class SyntheticsTestApiStepAssertionArgs : global::Pulumi.Resource public Input? TimingsScope { get; set; } /// - /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionGetArgs.cs b/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionGetArgs.cs index 3235e468e..2f4c7f529 100644 --- a/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionGetArgs.cs +++ b/sdk/dotnet/Inputs/SyntheticsTestApiStepAssertionGetArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.Datadog.Inputs public sealed class SyntheticsTestApiStepAssertionGetArgs : global::Pulumi.ResourceArgs { + /// + /// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + /// + [Input("code")] + public Input? Code { get; set; } + /// /// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). /// - [Input("operator", required: true)] - public Input Operator { get; set; } = null!; + [Input("operator")] + public Input? Operator { get; set; } /// /// If assertion type is `header`, this is the header name. @@ -55,7 +61,7 @@ public sealed class SyntheticsTestApiStepAssertionGetArgs : global::Pulumi.Resou public Input? TimingsScope { get; set; } /// - /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SyntheticsTestAssertionArgs.cs b/sdk/dotnet/Inputs/SyntheticsTestAssertionArgs.cs index 1dd94f768..a6c743b8e 100644 --- a/sdk/dotnet/Inputs/SyntheticsTestAssertionArgs.cs +++ b/sdk/dotnet/Inputs/SyntheticsTestAssertionArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.Datadog.Inputs public sealed class SyntheticsTestAssertionArgs : global::Pulumi.ResourceArgs { + /// + /// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + /// + [Input("code")] + public Input? Code { get; set; } + /// /// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). /// - [Input("operator", required: true)] - public Input Operator { get; set; } = null!; + [Input("operator")] + public Input? Operator { get; set; } /// /// If assertion type is `header`, this is the header name. @@ -55,7 +61,7 @@ public sealed class SyntheticsTestAssertionArgs : global::Pulumi.ResourceArgs public Input? TimingsScope { get; set; } /// - /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SyntheticsTestAssertionGetArgs.cs b/sdk/dotnet/Inputs/SyntheticsTestAssertionGetArgs.cs index b47fc55ee..4dfb15fa3 100644 --- a/sdk/dotnet/Inputs/SyntheticsTestAssertionGetArgs.cs +++ b/sdk/dotnet/Inputs/SyntheticsTestAssertionGetArgs.cs @@ -12,11 +12,17 @@ namespace Pulumi.Datadog.Inputs public sealed class SyntheticsTestAssertionGetArgs : global::Pulumi.ResourceArgs { + /// + /// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + /// + [Input("code")] + public Input? Code { get; set; } + /// /// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). /// - [Input("operator", required: true)] - public Input Operator { get; set; } = null!; + [Input("operator")] + public Input? Operator { get; set; } /// /// If assertion type is `header`, this is the header name. @@ -55,7 +61,7 @@ public sealed class SyntheticsTestAssertionGetArgs : global::Pulumi.ResourceArgs public Input? TimingsScope { get; set; } /// - /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SyntheticsTestConfigVariableArgs.cs b/sdk/dotnet/Inputs/SyntheticsTestConfigVariableArgs.cs index c4fbab120..e4ef2b60a 100644 --- a/sdk/dotnet/Inputs/SyntheticsTestConfigVariableArgs.cs +++ b/sdk/dotnet/Inputs/SyntheticsTestConfigVariableArgs.cs @@ -37,7 +37,7 @@ public sealed class SyntheticsTestConfigVariableArgs : global::Pulumi.ResourceAr public Input? Secure { get; set; } /// - /// Type of test configuration variable. Valid values are `global`, `text`. + /// Type of test configuration variable. Valid values are `global`, `text`, `email`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/SyntheticsTestConfigVariableGetArgs.cs b/sdk/dotnet/Inputs/SyntheticsTestConfigVariableGetArgs.cs index 3e59efb34..57d4fdac7 100644 --- a/sdk/dotnet/Inputs/SyntheticsTestConfigVariableGetArgs.cs +++ b/sdk/dotnet/Inputs/SyntheticsTestConfigVariableGetArgs.cs @@ -37,7 +37,7 @@ public sealed class SyntheticsTestConfigVariableGetArgs : global::Pulumi.Resourc public Input? Secure { get; set; } /// - /// Type of test configuration variable. Valid values are `global`, `text`. + /// Type of test configuration variable. Valid values are `global`, `text`, `email`. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/LogsIndex.cs b/sdk/dotnet/LogsIndex.cs index d5aa0242a..d7e7f91fc 100644 --- a/sdk/dotnet/LogsIndex.cs +++ b/sdk/dotnet/LogsIndex.cs @@ -32,6 +32,7 @@ namespace Pulumi.Datadog /// }, /// DailyLimitWarningThresholdPercentage = 50, /// RetentionDays = 7, + /// FlexRetentionDays = 180, /// Filters = new[] /// { /// new Datadog.Inputs.LogsIndexFilterArgs @@ -118,6 +119,12 @@ public partial class LogsIndex : global::Pulumi.CustomResource [Output("filters")] public Output> Filters { get; private set; } = null!; + /// + /// The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + /// + [Output("flexRetentionDays")] + public Output FlexRetentionDays { get; private set; } = null!; + /// /// The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. /// @@ -125,7 +132,7 @@ public partial class LogsIndex : global::Pulumi.CustomResource public Output Name { get; private set; } = null!; /// - /// The number of days before logs are deleted from this index. + /// The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. /// [Output("retentionDays")] public Output RetentionDays { get; private set; } = null!; @@ -224,6 +231,12 @@ public InputList Filters set => _filters = value; } + /// + /// The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + /// + [Input("flexRetentionDays")] + public Input? FlexRetentionDays { get; set; } + /// /// The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. /// @@ -231,7 +244,7 @@ public InputList Filters public Input Name { get; set; } = null!; /// - /// The number of days before logs are deleted from this index. + /// The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. /// [Input("retentionDays")] public Input? RetentionDays { get; set; } @@ -292,6 +305,12 @@ public InputList Filters set => _filters = value; } + /// + /// The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + /// + [Input("flexRetentionDays")] + public Input? FlexRetentionDays { get; set; } + /// /// The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. /// @@ -299,7 +318,7 @@ public InputList Filters public Input? Name { get; set; } /// - /// The number of days before logs are deleted from this index. + /// The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. /// [Input("retentionDays")] public Input? RetentionDays { get; set; } diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequest.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequest.cs index 99dd16008..d8c494bac 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequest.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequest.cs @@ -64,6 +64,10 @@ public sealed class DashboardWidgetQueryTableDefinitionRequest /// The query to use for this widget. /// public readonly Outputs.DashboardWidgetSecurityQuery? SecurityQuery; + /// + /// Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + /// + public readonly ImmutableArray TextFormats; [OutputConstructor] private DashboardWidgetQueryTableDefinitionRequest( @@ -95,7 +99,9 @@ private DashboardWidgetQueryTableDefinitionRequest( Outputs.DashboardWidgetRumQuery? rumQuery, - Outputs.DashboardWidgetSecurityQuery? securityQuery) + Outputs.DashboardWidgetSecurityQuery? securityQuery, + + ImmutableArray textFormats) { Aggregator = aggregator; Alias = alias; @@ -112,6 +118,7 @@ private DashboardWidgetQueryTableDefinitionRequest( Queries = queries; RumQuery = rumQuery; SecurityQuery = securityQuery; + TextFormats = textFormats; } } } diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormat.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormat.cs new file mode 100644 index 000000000..430a7ea63 --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormat.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 DashboardWidgetQueryTableDefinitionRequestTextFormat + { + /// + /// The text format to apply to the items in a table widget column. + /// + public readonly ImmutableArray TextFormats; + + [OutputConstructor] + private DashboardWidgetQueryTableDefinitionRequestTextFormat(ImmutableArray textFormats) + { + TextFormats = textFormats; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.cs new file mode 100644 index 000000000..6a3e4b697 --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat + { + /// + /// The custom color palette to apply to the background. + /// + public readonly string? CustomBgColor; + /// + /// The custom color palette to apply to the foreground text. + /// + public readonly string? CustomFgColor; + /// + /// Match rule for the table widget text format. + /// + public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch Match; + /// + /// The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + /// + public readonly string? Palette; + /// + /// Match rule for the table widget text format. + /// + public readonly Outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace? Replace; + + [OutputConstructor] + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat( + string? customBgColor, + + string? customFgColor, + + Outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match, + + string? palette, + + Outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace? replace) + { + CustomBgColor = customBgColor; + CustomFgColor = customFgColor; + Match = match; + Palette = palette; + Replace = replace; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.cs new file mode 100644 index 000000000..e1cbb6592 --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch + { + /// + /// Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + /// + public readonly string Type; + /// + /// Table Widget Match String. + /// + public readonly string Value; + + [OutputConstructor] + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.cs b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.cs new file mode 100644 index 000000000..9b2a014ab --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace + { + /// + /// Text that will be replaced. Must be used with type `substring`. + /// + public readonly string? Substring; + /// + /// Table widget text format replace all type. + /// + public readonly string Type; + /// + /// Table Widget Match String. + /// + public readonly string With; + + [OutputConstructor] + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace( + string? substring, + + string type, + + string with) + { + Substring = substring; + Type = type; + With = with; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinition.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinition.cs index 4cf9c6c1f..56bc1ad71 100644 --- a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinition.cs +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinition.cs @@ -26,6 +26,10 @@ public sealed class DashboardWidgetToplistDefinition /// public readonly ImmutableArray Requests; /// + /// The style of the widget + /// + public readonly ImmutableArray Styles; + /// /// The title of the widget. /// public readonly string? Title; @@ -46,6 +50,8 @@ private DashboardWidgetToplistDefinition( ImmutableArray requests, + ImmutableArray styles, + string? title, string? titleAlign, @@ -55,6 +61,7 @@ private DashboardWidgetToplistDefinition( CustomLinks = customLinks; LiveSpan = liveSpan; Requests = requests; + Styles = styles; Title = title; TitleAlign = titleAlign; TitleSize = titleSize; diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionStyle.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionStyle.cs new file mode 100644 index 000000000..a3da61ec9 --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionStyle.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 DashboardWidgetToplistDefinitionStyle + { + /// + /// The display mode for the widget. + /// + public readonly ImmutableArray Displays; + /// + /// The color palette for the widget. + /// + public readonly string? Palette; + + [OutputConstructor] + private DashboardWidgetToplistDefinitionStyle( + ImmutableArray displays, + + string? palette) + { + Displays = displays; + Palette = palette; + } + } +} diff --git a/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionStyleDisplay.cs b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionStyleDisplay.cs new file mode 100644 index 000000000..0c7522f4d --- /dev/null +++ b/sdk/dotnet/Outputs/DashboardWidgetToplistDefinitionStyleDisplay.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 DashboardWidgetToplistDefinitionStyleDisplay + { + /// + /// The display type for the widget. + /// + public readonly string Type; + + [OutputConstructor] + private DashboardWidgetToplistDefinitionStyleDisplay(string type) + { + Type = type; + } + } +} diff --git a/sdk/dotnet/Outputs/GetLogsIndexesLogsIndexResult.cs b/sdk/dotnet/Outputs/GetLogsIndexesLogsIndexResult.cs index d7a7b285c..0640cafad 100644 --- a/sdk/dotnet/Outputs/GetLogsIndexesLogsIndexResult.cs +++ b/sdk/dotnet/Outputs/GetLogsIndexesLogsIndexResult.cs @@ -34,11 +34,15 @@ public sealed class GetLogsIndexesLogsIndexResult /// public readonly ImmutableArray Filters; /// + /// The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + /// + public readonly int FlexRetentionDays; + /// /// The name of the index. /// public readonly string Name; /// - /// The number of days before logs are deleted from this index. + /// The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. /// public readonly int RetentionDays; @@ -54,6 +58,8 @@ private GetLogsIndexesLogsIndexResult( ImmutableArray filters, + int flexRetentionDays, + string name, int retentionDays) @@ -63,6 +69,7 @@ private GetLogsIndexesLogsIndexResult( DailyLimitWarningThresholdPercentage = dailyLimitWarningThresholdPercentage; ExclusionFilters = exclusionFilters; Filters = filters; + FlexRetentionDays = flexRetentionDays; Name = name; RetentionDays = retentionDays; } diff --git a/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequest.cs b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequest.cs index d04285a46..ada9569bd 100644 --- a/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequest.cs +++ b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequest.cs @@ -64,6 +64,10 @@ public sealed class PowerpackWidgetQueryTableDefinitionRequest /// The query to use for this widget. /// public readonly Outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery? SecurityQuery; + /// + /// Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + /// + public readonly ImmutableArray TextFormats; [OutputConstructor] private PowerpackWidgetQueryTableDefinitionRequest( @@ -95,7 +99,9 @@ private PowerpackWidgetQueryTableDefinitionRequest( Outputs.PowerpackWidgetQueryTableDefinitionRequestRumQuery? rumQuery, - Outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery? securityQuery) + Outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery? securityQuery, + + ImmutableArray textFormats) { Aggregator = aggregator; Alias = alias; @@ -112,6 +118,7 @@ private PowerpackWidgetQueryTableDefinitionRequest( Queries = queries; RumQuery = rumQuery; SecurityQuery = securityQuery; + TextFormats = textFormats; } } } diff --git a/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormat.cs b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormat.cs new file mode 100644 index 000000000..7665ed415 --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormat.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 PowerpackWidgetQueryTableDefinitionRequestTextFormat + { + /// + /// The text format to apply to the items in a table widget column. + /// + public readonly ImmutableArray TextFormats; + + [OutputConstructor] + private PowerpackWidgetQueryTableDefinitionRequestTextFormat(ImmutableArray textFormats) + { + TextFormats = textFormats; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.cs b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.cs new file mode 100644 index 000000000..7e503d545 --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Datadog.Outputs +{ + + [OutputType] + public sealed class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat + { + /// + /// The custom color palette to apply to the background. + /// + public readonly string? CustomBgColor; + /// + /// The custom color palette to apply to the foreground text. + /// + public readonly string? CustomFgColor; + /// + /// Match rule for the table widget text format. + /// + public readonly Outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch Match; + /// + /// The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + /// + public readonly string? Palette; + /// + /// Match rule for the table widget text format. + /// + public readonly Outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace? Replace; + + [OutputConstructor] + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat( + string? customBgColor, + + string? customFgColor, + + Outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match, + + string? palette, + + Outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace? replace) + { + CustomBgColor = customBgColor; + CustomFgColor = customFgColor; + Match = match; + Palette = palette; + Replace = replace; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.cs b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.cs new file mode 100644 index 000000000..d898c3c5a --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch + { + /// + /// Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + /// + public readonly string Type; + /// + /// Table Widget Match String. + /// + public readonly string Value; + + [OutputConstructor] + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch( + string type, + + string value) + { + Type = type; + Value = value; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.cs b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.cs new file mode 100644 index 000000000..0159dab60 --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace + { + /// + /// Text that will be replaced. Must be used with type `substring`. + /// + public readonly string? Substring; + /// + /// Table widget text format replace all type. + /// + public readonly string Type; + /// + /// Table Widget Match String. + /// + public readonly string With; + + [OutputConstructor] + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace( + string? substring, + + string type, + + string with) + { + Substring = substring; + Type = type; + With = with; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinition.cs b/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinition.cs index 0c8f80f8c..70b8727b4 100644 --- a/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinition.cs +++ b/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinition.cs @@ -26,6 +26,10 @@ public sealed class PowerpackWidgetToplistDefinition /// public readonly ImmutableArray Requests; /// + /// The style of the widget + /// + public readonly ImmutableArray Styles; + /// /// The title of the widget. /// public readonly string? Title; @@ -46,6 +50,8 @@ private PowerpackWidgetToplistDefinition( ImmutableArray requests, + ImmutableArray styles, + string? title, string? titleAlign, @@ -55,6 +61,7 @@ private PowerpackWidgetToplistDefinition( CustomLinks = customLinks; LiveSpan = liveSpan; Requests = requests; + Styles = styles; Title = title; TitleAlign = titleAlign; TitleSize = titleSize; diff --git a/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinitionStyle.cs b/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinitionStyle.cs new file mode 100644 index 000000000..01b142ef3 --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinitionStyle.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 PowerpackWidgetToplistDefinitionStyle + { + /// + /// The display mode for the widget. + /// + public readonly ImmutableArray Displays; + /// + /// The color palette for the widget. + /// + public readonly string? Palette; + + [OutputConstructor] + private PowerpackWidgetToplistDefinitionStyle( + ImmutableArray displays, + + string? palette) + { + Displays = displays; + Palette = palette; + } + } +} diff --git a/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinitionStyleDisplay.cs b/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinitionStyleDisplay.cs new file mode 100644 index 000000000..95ee1dda1 --- /dev/null +++ b/sdk/dotnet/Outputs/PowerpackWidgetToplistDefinitionStyleDisplay.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know 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 PowerpackWidgetToplistDefinitionStyleDisplay + { + /// + /// The display type for the widget. + /// + public readonly string Type; + + [OutputConstructor] + private PowerpackWidgetToplistDefinitionStyleDisplay(string type) + { + Type = type; + } + } +} diff --git a/sdk/dotnet/Outputs/SyntheticsTestApiStepAssertion.cs b/sdk/dotnet/Outputs/SyntheticsTestApiStepAssertion.cs index b9ab44dcf..27c35ac53 100644 --- a/sdk/dotnet/Outputs/SyntheticsTestApiStepAssertion.cs +++ b/sdk/dotnet/Outputs/SyntheticsTestApiStepAssertion.cs @@ -13,10 +13,14 @@ namespace Pulumi.Datadog.Outputs [OutputType] public sealed class SyntheticsTestApiStepAssertion { + /// + /// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + /// + public readonly string? Code; /// /// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). /// - public readonly string Operator; + public readonly string? Operator; /// /// If assertion type is `header`, this is the header name. /// @@ -42,13 +46,15 @@ public sealed class SyntheticsTestApiStepAssertion /// public readonly string? TimingsScope; /// - /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. /// public readonly string Type; [OutputConstructor] private SyntheticsTestApiStepAssertion( - string @operator, + string? code, + + string? @operator, string? property, @@ -64,6 +70,7 @@ private SyntheticsTestApiStepAssertion( string type) { + Code = code; Operator = @operator; Property = property; Target = target; diff --git a/sdk/dotnet/Outputs/SyntheticsTestAssertion.cs b/sdk/dotnet/Outputs/SyntheticsTestAssertion.cs index 17bb0df3f..5529cbc17 100644 --- a/sdk/dotnet/Outputs/SyntheticsTestAssertion.cs +++ b/sdk/dotnet/Outputs/SyntheticsTestAssertion.cs @@ -13,10 +13,14 @@ namespace Pulumi.Datadog.Outputs [OutputType] public sealed class SyntheticsTestAssertion { + /// + /// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + /// + public readonly string? Code; /// /// Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). /// - public readonly string Operator; + public readonly string? Operator; /// /// If assertion type is `header`, this is the header name. /// @@ -42,13 +46,15 @@ public sealed class SyntheticsTestAssertion /// public readonly string? TimingsScope; /// - /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + /// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. /// public readonly string Type; [OutputConstructor] private SyntheticsTestAssertion( - string @operator, + string? code, + + string? @operator, string? property, @@ -64,6 +70,7 @@ private SyntheticsTestAssertion( string type) { + Code = code; Operator = @operator; Property = property; Target = target; diff --git a/sdk/dotnet/Outputs/SyntheticsTestConfigVariable.cs b/sdk/dotnet/Outputs/SyntheticsTestConfigVariable.cs index 0cf6c4706..140bb8718 100644 --- a/sdk/dotnet/Outputs/SyntheticsTestConfigVariable.cs +++ b/sdk/dotnet/Outputs/SyntheticsTestConfigVariable.cs @@ -28,7 +28,7 @@ public sealed class SyntheticsTestConfigVariable /// public readonly bool? Secure; /// - /// Type of test configuration variable. Valid values are `global`, `text`. + /// Type of test configuration variable. Valid values are `global`, `text`, `email`. /// public readonly string Type; diff --git a/sdk/go/datadog/logsIndex.go b/sdk/go/datadog/logsIndex.go index 2192369ce..af96d4d4a 100644 --- a/sdk/go/datadog/logsIndex.go +++ b/sdk/go/datadog/logsIndex.go @@ -36,6 +36,7 @@ import ( // }, // DailyLimitWarningThresholdPercentage: pulumi.Float64(50), // RetentionDays: pulumi.Int(7), +// FlexRetentionDays: pulumi.Int(180), // Filters: datadog.LogsIndexFilterArray{ // &datadog.LogsIndexFilterArgs{ // Query: pulumi.String("*"), @@ -93,9 +94,11 @@ type LogsIndex struct { ExclusionFilters LogsIndexExclusionFilterArrayOutput `pulumi:"exclusionFilters"` // Logs filter Filters LogsIndexFilterArrayOutput `pulumi:"filters"` + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays pulumi.IntOutput `pulumi:"flexRetentionDays"` // The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. Name pulumi.StringOutput `pulumi:"name"` - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays pulumi.IntOutput `pulumi:"retentionDays"` } @@ -147,9 +150,11 @@ type logsIndexState struct { ExclusionFilters []LogsIndexExclusionFilter `pulumi:"exclusionFilters"` // Logs filter Filters []LogsIndexFilter `pulumi:"filters"` + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays *int `pulumi:"flexRetentionDays"` // The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. Name *string `pulumi:"name"` - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays *int `pulumi:"retentionDays"` } @@ -166,9 +171,11 @@ type LogsIndexState struct { ExclusionFilters LogsIndexExclusionFilterArrayInput // Logs filter Filters LogsIndexFilterArrayInput + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays pulumi.IntPtrInput // The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. Name pulumi.StringPtrInput - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays pulumi.IntPtrInput } @@ -189,9 +196,11 @@ type logsIndexArgs struct { ExclusionFilters []LogsIndexExclusionFilter `pulumi:"exclusionFilters"` // Logs filter Filters []LogsIndexFilter `pulumi:"filters"` + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays *int `pulumi:"flexRetentionDays"` // The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. Name string `pulumi:"name"` - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays *int `pulumi:"retentionDays"` } @@ -209,9 +218,11 @@ type LogsIndexArgs struct { ExclusionFilters LogsIndexExclusionFilterArrayInput // Logs filter Filters LogsIndexFilterArrayInput + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays pulumi.IntPtrInput // The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. Name pulumi.StringInput - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays pulumi.IntPtrInput } @@ -332,12 +343,17 @@ func (o LogsIndexOutput) Filters() LogsIndexFilterArrayOutput { return o.ApplyT(func(v *LogsIndex) LogsIndexFilterArrayOutput { return v.Filters }).(LogsIndexFilterArrayOutput) } +// The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. +func (o LogsIndexOutput) FlexRetentionDays() pulumi.IntOutput { + return o.ApplyT(func(v *LogsIndex) pulumi.IntOutput { return v.FlexRetentionDays }).(pulumi.IntOutput) +} + // The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. func (o LogsIndexOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *LogsIndex) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } -// The number of days before logs are deleted from this index. +// The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. func (o LogsIndexOutput) RetentionDays() pulumi.IntOutput { return o.ApplyT(func(v *LogsIndex) pulumi.IntOutput { return v.RetentionDays }).(pulumi.IntOutput) } diff --git a/sdk/go/datadog/pulumiTypes.go b/sdk/go/datadog/pulumiTypes.go index ef0796818..d120fafd1 100644 --- a/sdk/go/datadog/pulumiTypes.go +++ b/sdk/go/datadog/pulumiTypes.go @@ -24545,6 +24545,8 @@ type DashboardWidgetQueryTableDefinitionRequest struct { RumQuery *DashboardWidgetRumQuery `pulumi:"rumQuery"` // The query to use for this widget. SecurityQuery *DashboardWidgetSecurityQuery `pulumi:"securityQuery"` + // Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + TextFormats []DashboardWidgetQueryTableDefinitionRequestTextFormat `pulumi:"textFormats"` } // DashboardWidgetQueryTableDefinitionRequestInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestArgs and DashboardWidgetQueryTableDefinitionRequestOutput values. @@ -24586,6 +24588,8 @@ type DashboardWidgetQueryTableDefinitionRequestArgs struct { RumQuery DashboardWidgetRumQueryPtrInput `pulumi:"rumQuery"` // The query to use for this widget. SecurityQuery DashboardWidgetSecurityQueryPtrInput `pulumi:"securityQuery"` + // Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + TextFormats DashboardWidgetQueryTableDefinitionRequestTextFormatArrayInput `pulumi:"textFormats"` } func (DashboardWidgetQueryTableDefinitionRequestArgs) ElementType() reflect.Type { @@ -24723,6 +24727,13 @@ func (o DashboardWidgetQueryTableDefinitionRequestOutput) SecurityQuery() Dashbo }).(DashboardWidgetSecurityQueryPtrOutput) } +// Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. +func (o DashboardWidgetQueryTableDefinitionRequestOutput) TextFormats() DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequest) []DashboardWidgetQueryTableDefinitionRequestTextFormat { + return v.TextFormats + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput) +} + type DashboardWidgetQueryTableDefinitionRequestArrayOutput struct{ *pulumi.OutputState } func (DashboardWidgetQueryTableDefinitionRequestArrayOutput) ElementType() reflect.Type { @@ -28795,6 +28806,480 @@ func (o DashboardWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloQue }).(pulumi.StringPtrOutput) } +type DashboardWidgetQueryTableDefinitionRequestTextFormat struct { + // The text format to apply to the items in a table widget column. + TextFormats []DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat `pulumi:"textFormats"` +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatArgs and DashboardWidgetQueryTableDefinitionRequestTextFormatOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatArgs{...} +type DashboardWidgetQueryTableDefinitionRequestTextFormatInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatOutput +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatArgs struct { + // The text format to apply to the items in a table widget column. + TextFormats DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput `pulumi:"textFormats"` +} + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatOutput) +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatArray and DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatArrayInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatArray{ DashboardWidgetQueryTableDefinitionRequestTextFormatArgs{...} } +type DashboardWidgetQueryTableDefinitionRequestTextFormatArrayInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatArray []DashboardWidgetQueryTableDefinitionRequestTextFormatInput + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatArray) ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatArray) ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatOutput { + return o +} + +// The text format to apply to the items in a table widget column. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatOutput) TextFormats() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormat) []DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat { + return v.TextFormats + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestTextFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestTextFormat { + return vs[0].([]DashboardWidgetQueryTableDefinitionRequestTextFormat)[vs[1].(int)] + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat struct { + // The custom color palette to apply to the background. + CustomBgColor *string `pulumi:"customBgColor"` + // The custom color palette to apply to the foreground text. + CustomFgColor *string `pulumi:"customFgColor"` + // Match rule for the table widget text format. + Match DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch `pulumi:"match"` + // The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + Palette *string `pulumi:"palette"` + // Match rule for the table widget text format. + Replace *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace `pulumi:"replace"` +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs and DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs{...} +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs struct { + // The custom color palette to apply to the background. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The custom color palette to apply to the foreground text. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Match rule for the table widget text format. + Match DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput `pulumi:"match"` + // The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Match rule for the table widget text format. + Replace DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput `pulumi:"replace"` +} + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray and DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray{ DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs{...} } +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray []DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatInput + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return o +} + +// The custom color palette to apply to the background. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +} + +// The custom color palette to apply to the foreground text. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) +} + +// Match rule for the table widget text format. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) Match() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + return v.Match + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) +} + +// The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +// Match rule for the table widget text format. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) Replace() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat) *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + return v.Replace + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) Index(i pulumi.IntInput) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat { + return vs[0].([]DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat)[vs[1].(int)] + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch struct { + // Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + Type string `pulumi:"type"` + // Table Widget Match String. + Value string `pulumi:"value"` +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs and DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs{...} +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs struct { + // Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + Type pulumi.StringInput `pulumi:"type"` + // Table Widget Match String. + Value pulumi.StringInput `pulumi:"value"` +} + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch)(nil)).Elem() +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return o +} + +// Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch) string { return v.Type }).(pulumi.StringOutput) +} + +// Table Widget Match String. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch) string { return v.Value }).(pulumi.StringOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace struct { + // Text that will be replaced. Must be used with type `substring`. + Substring *string `pulumi:"substring"` + // Table widget text format replace all type. + Type string `pulumi:"type"` + // Table Widget Match String. + With string `pulumi:"with"` +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs and DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{...} +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs struct { + // Text that will be replaced. Must be used with type `substring`. + Substring pulumi.StringPtrInput `pulumi:"substring"` + // Table widget text format replace all type. + Type pulumi.StringInput `pulumi:"type"` + // Table Widget Match String. + With pulumi.StringInput `pulumi:"with"` +} + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Background()) +} + +func (i DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput).ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx) +} + +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput is an input type that accepts DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs, DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtr and DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput values. +// You can construct a concrete instance of `DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput` via: +// +// DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{...} +// +// or: +// +// nil +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput interface { + pulumi.Input + + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput + ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput +} + +type dashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs + +func DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtr(v *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput { + return (*dashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType)(v) +} + +func (*dashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() +} + +func (i *dashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return i.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Background()) +} + +func (i *dashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o.ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Background()) +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + return &v + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) +} + +// Text that will be replaced. Must be used with type `substring`. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) Substring() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { + return v.Substring + }).(pulumi.StringPtrOutput) +} + +// Table widget text format replace all type. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) string { return v.Type }).(pulumi.StringOutput) +} + +// Table Widget Match String. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) With() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) string { return v.With }).(pulumi.StringOutput) +} + +type DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) ToDashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o +} + +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) Elem() DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + if v != nil { + return *v + } + var ret DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace + return ret + }).(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) +} + +// Text that will be replaced. Must be used with type `substring`. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) Substring() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { + if v == nil { + return nil + } + return v.Substring + }).(pulumi.StringPtrOutput) +} + +// Table widget text format replace all type. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// Table Widget Match String. +func (o DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) With() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { + if v == nil { + return nil + } + return &v.With + }).(pulumi.StringPtrOutput) +} + type DashboardWidgetQueryValueDefinition struct { // A Boolean indicating whether to automatically scale the tile. Autoscale *bool `pulumi:"autoscale"` @@ -56789,6 +57274,8 @@ type DashboardWidgetToplistDefinition struct { 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 style of the widget + Styles []DashboardWidgetToplistDefinitionStyle `pulumi:"styles"` // The title of the widget. Title *string `pulumi:"title"` // The alignment of the widget's title. Valid values are `center`, `left`, `right`. @@ -56815,6 +57302,8 @@ type DashboardWidgetToplistDefinitionArgs struct { 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 style of the widget + Styles DashboardWidgetToplistDefinitionStyleArrayInput `pulumi:"styles"` // The title of the widget. Title pulumi.StringPtrInput `pulumi:"title"` // The alignment of the widget's title. Valid values are `center`, `left`, `right`. @@ -56917,6 +57406,11 @@ func (o DashboardWidgetToplistDefinitionOutput) Requests() DashboardWidgetToplis return o.ApplyT(func(v DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionRequest { return v.Requests }).(DashboardWidgetToplistDefinitionRequestArrayOutput) } +// The style of the widget +func (o DashboardWidgetToplistDefinitionOutput) Styles() DashboardWidgetToplistDefinitionStyleArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionStyle { return v.Styles }).(DashboardWidgetToplistDefinitionStyleArrayOutput) +} + // The title of the widget. func (o DashboardWidgetToplistDefinitionOutput) Title() pulumi.StringPtrOutput { return o.ApplyT(func(v DashboardWidgetToplistDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) @@ -56986,6 +57480,16 @@ func (o DashboardWidgetToplistDefinitionPtrOutput) Requests() DashboardWidgetTop }).(DashboardWidgetToplistDefinitionRequestArrayOutput) } +// The style of the widget +func (o DashboardWidgetToplistDefinitionPtrOutput) Styles() DashboardWidgetToplistDefinitionStyleArrayOutput { + return o.ApplyT(func(v *DashboardWidgetToplistDefinition) []DashboardWidgetToplistDefinitionStyle { + if v == nil { + return nil + } + return v.Styles + }).(DashboardWidgetToplistDefinitionStyleArrayOutput) +} + // The title of the widget. func (o DashboardWidgetToplistDefinitionPtrOutput) Title() pulumi.StringPtrOutput { return o.ApplyT(func(v *DashboardWidgetToplistDefinition) *string { @@ -61932,6 +62436,211 @@ func (o DashboardWidgetToplistDefinitionRequestStylePtrOutput) Palette() pulumi. }).(pulumi.StringPtrOutput) } +type DashboardWidgetToplistDefinitionStyle struct { + // The display mode for the widget. + Displays []DashboardWidgetToplistDefinitionStyleDisplay `pulumi:"displays"` + // The color palette for the widget. + Palette *string `pulumi:"palette"` +} + +// DashboardWidgetToplistDefinitionStyleInput is an input type that accepts DashboardWidgetToplistDefinitionStyleArgs and DashboardWidgetToplistDefinitionStyleOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionStyleInput` via: +// +// DashboardWidgetToplistDefinitionStyleArgs{...} +type DashboardWidgetToplistDefinitionStyleInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionStyleOutput() DashboardWidgetToplistDefinitionStyleOutput + ToDashboardWidgetToplistDefinitionStyleOutputWithContext(context.Context) DashboardWidgetToplistDefinitionStyleOutput +} + +type DashboardWidgetToplistDefinitionStyleArgs struct { + // The display mode for the widget. + Displays DashboardWidgetToplistDefinitionStyleDisplayArrayInput `pulumi:"displays"` + // The color palette for the widget. + Palette pulumi.StringPtrInput `pulumi:"palette"` +} + +func (DashboardWidgetToplistDefinitionStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionStyle)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionStyleArgs) ToDashboardWidgetToplistDefinitionStyleOutput() DashboardWidgetToplistDefinitionStyleOutput { + return i.ToDashboardWidgetToplistDefinitionStyleOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionStyleArgs) ToDashboardWidgetToplistDefinitionStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionStyleOutput) +} + +// DashboardWidgetToplistDefinitionStyleArrayInput is an input type that accepts DashboardWidgetToplistDefinitionStyleArray and DashboardWidgetToplistDefinitionStyleArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionStyleArrayInput` via: +// +// DashboardWidgetToplistDefinitionStyleArray{ DashboardWidgetToplistDefinitionStyleArgs{...} } +type DashboardWidgetToplistDefinitionStyleArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionStyleArrayOutput() DashboardWidgetToplistDefinitionStyleArrayOutput + ToDashboardWidgetToplistDefinitionStyleArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionStyleArrayOutput +} + +type DashboardWidgetToplistDefinitionStyleArray []DashboardWidgetToplistDefinitionStyleInput + +func (DashboardWidgetToplistDefinitionStyleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionStyle)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionStyleArray) ToDashboardWidgetToplistDefinitionStyleArrayOutput() DashboardWidgetToplistDefinitionStyleArrayOutput { + return i.ToDashboardWidgetToplistDefinitionStyleArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionStyleArray) ToDashboardWidgetToplistDefinitionStyleArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionStyleArrayOutput) +} + +type DashboardWidgetToplistDefinitionStyleOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionStyle)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionStyleOutput) ToDashboardWidgetToplistDefinitionStyleOutput() DashboardWidgetToplistDefinitionStyleOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionStyleOutput) ToDashboardWidgetToplistDefinitionStyleOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleOutput { + return o +} + +// The display mode for the widget. +func (o DashboardWidgetToplistDefinitionStyleOutput) Displays() DashboardWidgetToplistDefinitionStyleDisplayArrayOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionStyle) []DashboardWidgetToplistDefinitionStyleDisplay { + return v.Displays + }).(DashboardWidgetToplistDefinitionStyleDisplayArrayOutput) +} + +// The color palette for the widget. +func (o DashboardWidgetToplistDefinitionStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +} + +type DashboardWidgetToplistDefinitionStyleArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionStyleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionStyle)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionStyleArrayOutput) ToDashboardWidgetToplistDefinitionStyleArrayOutput() DashboardWidgetToplistDefinitionStyleArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionStyleArrayOutput) ToDashboardWidgetToplistDefinitionStyleArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionStyleArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionStyleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionStyle { + return vs[0].([]DashboardWidgetToplistDefinitionStyle)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionStyleOutput) +} + +type DashboardWidgetToplistDefinitionStyleDisplay struct { + // The display type for the widget. + Type string `pulumi:"type"` +} + +// DashboardWidgetToplistDefinitionStyleDisplayInput is an input type that accepts DashboardWidgetToplistDefinitionStyleDisplayArgs and DashboardWidgetToplistDefinitionStyleDisplayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionStyleDisplayInput` via: +// +// DashboardWidgetToplistDefinitionStyleDisplayArgs{...} +type DashboardWidgetToplistDefinitionStyleDisplayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionStyleDisplayOutput() DashboardWidgetToplistDefinitionStyleDisplayOutput + ToDashboardWidgetToplistDefinitionStyleDisplayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionStyleDisplayOutput +} + +type DashboardWidgetToplistDefinitionStyleDisplayArgs struct { + // The display type for the widget. + Type pulumi.StringInput `pulumi:"type"` +} + +func (DashboardWidgetToplistDefinitionStyleDisplayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionStyleDisplay)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionStyleDisplayArgs) ToDashboardWidgetToplistDefinitionStyleDisplayOutput() DashboardWidgetToplistDefinitionStyleDisplayOutput { + return i.ToDashboardWidgetToplistDefinitionStyleDisplayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionStyleDisplayArgs) ToDashboardWidgetToplistDefinitionStyleDisplayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleDisplayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionStyleDisplayOutput) +} + +// DashboardWidgetToplistDefinitionStyleDisplayArrayInput is an input type that accepts DashboardWidgetToplistDefinitionStyleDisplayArray and DashboardWidgetToplistDefinitionStyleDisplayArrayOutput values. +// You can construct a concrete instance of `DashboardWidgetToplistDefinitionStyleDisplayArrayInput` via: +// +// DashboardWidgetToplistDefinitionStyleDisplayArray{ DashboardWidgetToplistDefinitionStyleDisplayArgs{...} } +type DashboardWidgetToplistDefinitionStyleDisplayArrayInput interface { + pulumi.Input + + ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutput() DashboardWidgetToplistDefinitionStyleDisplayArrayOutput + ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(context.Context) DashboardWidgetToplistDefinitionStyleDisplayArrayOutput +} + +type DashboardWidgetToplistDefinitionStyleDisplayArray []DashboardWidgetToplistDefinitionStyleDisplayInput + +func (DashboardWidgetToplistDefinitionStyleDisplayArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionStyleDisplay)(nil)).Elem() +} + +func (i DashboardWidgetToplistDefinitionStyleDisplayArray) ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutput() DashboardWidgetToplistDefinitionStyleDisplayArrayOutput { + return i.ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(context.Background()) +} + +func (i DashboardWidgetToplistDefinitionStyleDisplayArray) ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleDisplayArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DashboardWidgetToplistDefinitionStyleDisplayArrayOutput) +} + +type DashboardWidgetToplistDefinitionStyleDisplayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionStyleDisplayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DashboardWidgetToplistDefinitionStyleDisplay)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionStyleDisplayOutput) ToDashboardWidgetToplistDefinitionStyleDisplayOutput() DashboardWidgetToplistDefinitionStyleDisplayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionStyleDisplayOutput) ToDashboardWidgetToplistDefinitionStyleDisplayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleDisplayOutput { + return o +} + +// The display type for the widget. +func (o DashboardWidgetToplistDefinitionStyleDisplayOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v DashboardWidgetToplistDefinitionStyleDisplay) string { return v.Type }).(pulumi.StringOutput) +} + +type DashboardWidgetToplistDefinitionStyleDisplayArrayOutput struct{ *pulumi.OutputState } + +func (DashboardWidgetToplistDefinitionStyleDisplayArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DashboardWidgetToplistDefinitionStyleDisplay)(nil)).Elem() +} + +func (o DashboardWidgetToplistDefinitionStyleDisplayArrayOutput) ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutput() DashboardWidgetToplistDefinitionStyleDisplayArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionStyleDisplayArrayOutput) ToDashboardWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(ctx context.Context) DashboardWidgetToplistDefinitionStyleDisplayArrayOutput { + return o +} + +func (o DashboardWidgetToplistDefinitionStyleDisplayArrayOutput) Index(i pulumi.IntInput) DashboardWidgetToplistDefinitionStyleDisplayOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DashboardWidgetToplistDefinitionStyleDisplay { + return vs[0].([]DashboardWidgetToplistDefinitionStyleDisplay)[vs[1].(int)] + }).(DashboardWidgetToplistDefinitionStyleDisplayOutput) +} + type DashboardWidgetTopologyMapDefinition struct { // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. CustomLinks []DashboardWidgetTopologyMapDefinitionCustomLink `pulumi:"customLinks"` @@ -92149,928 +92858,6 @@ func (o PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -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"` -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput -} - -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 (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *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) -} - -// 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 PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { - 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) -} - -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"` -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput -} - -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 (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) 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) -} - -// 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 PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// 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.Order - }).(pulumi.StringPtrOutput) -} - -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"` -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput -} - -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 (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) -} - -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) 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) -} - -// 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 PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { - 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) -} - -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"` -} - -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput -} - -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 (PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput -} - -type powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType)(v) -} - -func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQuery { - 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) -} - -// 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) -} - -// 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) -} - -// `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) -} - -// The search query to use. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestSecurityQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) -} - -// `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.ComputeQuery - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// 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.GroupBies - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -// 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.Index - }).(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 { - if v == nil { - return nil - } - return v.SearchQuery - }).(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. - Interval *int `pulumi:"interval"` -} - -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput -} - -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 (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput -} - -type powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs - -func PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { - return &v - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) 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) -} - -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery - return ret - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// 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.Interval - }).(pulumi.IntPtrOutput) -} - -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"` -} - -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput -} - -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 (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) -} - -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput -} - -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) -} - -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *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) -} - -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { - 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 init() { pulumi.RegisterInputType(reflect.TypeOf((*ApmRetentionFilterFilterInput)(nil)).Elem(), ApmRetentionFilterFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ApmRetentionFilterFilterPtrInput)(nil)).Elem(), ApmRetentionFilterFilterArgs{}) @@ -93371,6 +93158,13 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQuerySloQueryInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQuerySloQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestQuerySloQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput)(nil)).Elem(), DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionPtrInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetQueryValueDefinitionCustomLinkInput)(nil)).Elem(), DashboardWidgetQueryValueDefinitionCustomLinkArgs{}) @@ -93721,6 +93515,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStyleInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestStyleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionRequestStylePtrInput)(nil)).Elem(), DashboardWidgetToplistDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionStyleInput)(nil)).Elem(), DashboardWidgetToplistDefinitionStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionStyleArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionStyleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionStyleDisplayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionStyleDisplayArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetToplistDefinitionStyleDisplayArrayInput)(nil)).Elem(), DashboardWidgetToplistDefinitionStyleDisplayArray{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionPtrInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DashboardWidgetTopologyMapDefinitionCustomLinkInput)(nil)).Elem(), DashboardWidgetTopologyMapDefinitionCustomLinkArgs{}) @@ -94055,18 +93853,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{}) pulumi.RegisterOutputType(ApmRetentionFilterFilterOutput{}) pulumi.RegisterOutputType(ApmRetentionFilterFilterPtrOutput{}) pulumi.RegisterOutputType(ChildOrganizationApiKeyOutput{}) @@ -94366,6 +94152,13 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQuerySloQueryOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput{}) + pulumi.RegisterOutputType(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetQueryValueDefinitionCustomLinkOutput{}) @@ -94716,6 +94509,10 @@ func init() { pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestQuerySloQueryPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestStyleOutput{}) pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionStyleOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionStyleArrayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionStyleDisplayOutput{}) + pulumi.RegisterOutputType(DashboardWidgetToplistDefinitionStyleDisplayArrayOutput{}) pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionOutput{}) pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionPtrOutput{}) pulumi.RegisterOutputType(DashboardWidgetTopologyMapDefinitionCustomLinkOutput{}) @@ -95050,16 +94847,4 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput{}) - pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput{}) } diff --git a/sdk/go/datadog/pulumiTypes1.go b/sdk/go/datadog/pulumiTypes1.go index 529bc7056..6fa4beda5 100644 --- a/sdk/go/datadog/pulumiTypes1.go +++ b/sdk/go/datadog/pulumiTypes1.go @@ -13,7 +13,124 @@ import ( var _ = internal.GetEnvOrDefault -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery struct { +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"` +} + +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput +} + +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 (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) +} + +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy) *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) +} + +// 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 PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput { + 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) +} + +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -22,18 +139,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: +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -42,131 +159,127 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryAr Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -175,8 +288,8 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuer } // The facet name. -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -185,8 +298,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 PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -194,7 +307,7 @@ func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute struct { +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -203,18 +316,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: +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -223,4907 +336,4683 @@ type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput { 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 PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) 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 PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) *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 PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput { 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 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 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 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"` } -// PowerpackWidgetDistributionDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs and PowerpackWidgetDistributionDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStyleInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} -type PowerpackWidgetDistributionDefinitionRequestStyleInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput - ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput } -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 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 (PowerpackWidgetDistributionDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput).ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetDistributionDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs, PowerpackWidgetDistributionDefinitionRequestStylePtr and PowerpackWidgetDistributionDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStylePtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetDistributionDefinitionRequestStylePtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput - ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetDistributionDefinitionRequestStylePtrType PowerpackWidgetDistributionDefinitionRequestStyleArgs +type powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs -func PowerpackWidgetDistributionDefinitionRequestStylePtr(v *PowerpackWidgetDistributionDefinitionRequestStyleArgs) PowerpackWidgetDistributionDefinitionRequestStylePtrInput { - return (*powerpackWidgetDistributionDefinitionRequestStylePtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetDistributionDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetDistributionDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestStyle) *PowerpackWidgetDistributionDefinitionRequestStyle { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) } -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetDistributionDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() +// 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) } -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { +// `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) +} + +// The search query to use. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQuery)(nil)).Elem() +} + +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestStyle) PowerpackWidgetDistributionDefinitionRequestStyle { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetDistributionDefinitionRequestStyle + var ret PowerpackWidgetDistributionDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput) } -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return v.Palette + return v.ComputeQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} + +// 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.GroupBies + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) +} + +// 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.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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(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. + Interval *int `pulumi:"interval"` +} + +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetEventStreamDefinitionArgs{...} -type PowerpackWidgetEventStreamDefinitionInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput - ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput } -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 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 (PowerpackWidgetEventStreamDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { - return i.ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput).ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetEventStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs, PowerpackWidgetEventStreamDefinitionPtr and PowerpackWidgetEventStreamDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetEventStreamDefinitionArgs{...} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetEventStreamDefinitionPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput - ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetEventStreamDefinitionPtrType PowerpackWidgetEventStreamDefinitionArgs +type powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetEventStreamDefinitionPtr(v *PowerpackWidgetEventStreamDefinitionArgs) PowerpackWidgetEventStreamDefinitionPtrInput { - return (*powerpackWidgetEventStreamDefinitionPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetEventStreamDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetEventStreamDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventStreamDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { - return o.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventStreamDefinition) *PowerpackWidgetEventStreamDefinition { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetEventStreamDefinitionPtrOutput) -} - -// 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 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) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetEventStreamDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetEventStreamDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventStreamDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Elem() PowerpackWidgetEventStreamDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) PowerpackWidgetEventStreamDefinition { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetEventStreamDefinition + var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetEventStreamDefinitionOutput) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.EventSize + return &v.Aggregation }).(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 { +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.LiveSpan + return v.Facet }).(pulumi.StringPtrOutput) } -// The query to use in the widget. -func (o PowerpackWidgetEventStreamDefinitionPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) *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.Query - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// 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) +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"` } -// 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.Title - }).(pulumi.StringPtrOutput) +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput } -// 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.TitleAlign - }).(pulumi.StringPtrOutput) +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"` } -// 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.TitleSize - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -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"` +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -// PowerpackWidgetEventTimelineDefinitionInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs and PowerpackWidgetEventTimelineDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionInput` via: -// -// PowerpackWidgetEventTimelineDefinitionArgs{...} -type PowerpackWidgetEventTimelineDefinitionInput 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() -} - -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { - return i.ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) } -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput) -} - -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { - return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput).ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx) -} - -// PowerpackWidgetEventTimelineDefinitionPtrInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs, PowerpackWidgetEventTimelineDefinitionPtr and PowerpackWidgetEventTimelineDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionPtrInput` via: -// -// PowerpackWidgetEventTimelineDefinitionArgs{...} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// or: -// -// nil -type PowerpackWidgetEventTimelineDefinitionPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput - ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput } -type powerpackWidgetEventTimelineDefinitionPtrType PowerpackWidgetEventTimelineDefinitionArgs - -func PowerpackWidgetEventTimelineDefinitionPtr(v *PowerpackWidgetEventTimelineDefinitionArgs) PowerpackWidgetEventTimelineDefinitionPtrInput { - return (*powerpackWidgetEventTimelineDefinitionPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput -func (*powerpackWidgetEventTimelineDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { - return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetEventTimelineDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventTimelineDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetEventTimelineDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetEventTimelineDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput { 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput) } -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 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"` } -// PowerpackWidgetFreeTextDefinitionInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs and PowerpackWidgetFreeTextDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetFreeTextDefinitionArgs{...} -type PowerpackWidgetFreeTextDefinitionInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput - ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput } -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 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"` } -func (PowerpackWidgetFreeTextDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { - return i.ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { - return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput).ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetFreeTextDefinitionPtrInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs, PowerpackWidgetFreeTextDefinitionPtr and PowerpackWidgetFreeTextDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionPtrInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetFreeTextDefinitionArgs{...} +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetFreeTextDefinitionPtrInput interface { +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput - ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetFreeTextDefinitionPtrType PowerpackWidgetFreeTextDefinitionArgs +type powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetFreeTextDefinitionPtr(v *PowerpackWidgetFreeTextDefinitionArgs) PowerpackWidgetFreeTextDefinitionPtrInput { - return (*powerpackWidgetFreeTextDefinitionPtrType)(v) +func PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetFreeTextDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { - return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionPtrOutput) +func (i *powerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetFreeTextDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetFreeTextDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { - return o.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetFreeTextDefinition) *PowerpackWidgetFreeTextDefinition { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { 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) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetFreeTextDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetFreeTextDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Elem() PowerpackWidgetFreeTextDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) PowerpackWidgetFreeTextDefinition { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetFreeTextDefinition + var ret PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery 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) + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQuery) *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 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"` } -// PowerpackWidgetGeomapDefinitionInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs and PowerpackWidgetGeomapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionInput` via: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetGeomapDefinitionArgs{...} -type PowerpackWidgetGeomapDefinitionInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput - ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionOutput -} - -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 (PowerpackWidgetGeomapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { - return i.ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Background()) +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 (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput) +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput).ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetGeomapDefinitionPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs, PowerpackWidgetGeomapDefinitionPtr and PowerpackWidgetGeomapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionArgs{...} -// -// or: +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionPtrInput interface { +// PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput - ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionPtrOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type powerpackWidgetGeomapDefinitionPtrType PowerpackWidgetGeomapDefinitionArgs - -func PowerpackWidgetGeomapDefinitionPtr(v *PowerpackWidgetGeomapDefinitionArgs) PowerpackWidgetGeomapDefinitionPtrInput { - return (*powerpackWidgetGeomapDefinitionPtrType)(v) -} +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput -func (*powerpackWidgetGeomapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionPtrOutput) +func (i PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetGeomapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinition { - return &v - }).(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) -} - -// The title of the widget. -func (o PowerpackWidgetGeomapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.Title }).(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) -} - -// 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) +// The facet name. +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetGeomapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() +func (PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { +func (o PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput { 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 PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput) } -// 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) +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"` } -// 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) -} +// PowerpackWidgetDistributionDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs and PowerpackWidgetDistributionDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStyleInput` via: +// +// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} +type PowerpackWidgetDistributionDefinitionRequestStyleInput interface { + pulumi.Input -// 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) + ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput + ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput } -// 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) +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"` } -// 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.Title - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetDistributionDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -// 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) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) } -// 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) +func (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) } -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 (i PowerpackWidgetDistributionDefinitionRequestStyleArgs) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStyleOutput).ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArgs and PowerpackWidgetGeomapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkInput` via: +// PowerpackWidgetDistributionDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetDistributionDefinitionRequestStyleArgs, PowerpackWidgetDistributionDefinitionRequestStylePtr and PowerpackWidgetDistributionDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetDistributionDefinitionRequestStylePtrInput` via: // -// PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} -type PowerpackWidgetGeomapDefinitionCustomLinkInput interface { +// PowerpackWidgetDistributionDefinitionRequestStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetDistributionDefinitionRequestStylePtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput - ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput + ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput + ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput } -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 powerpackWidgetDistributionDefinitionRequestStylePtrType PowerpackWidgetDistributionDefinitionRequestStyleArgs + +func PowerpackWidgetDistributionDefinitionRequestStylePtr(v *PowerpackWidgetDistributionDefinitionRequestStyleArgs) PowerpackWidgetDistributionDefinitionRequestStylePtrInput { + return (*powerpackWidgetDistributionDefinitionRequestStylePtrType)(v) } -func (PowerpackWidgetGeomapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func (*powerpackWidgetDistributionDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkOutput) +func (i *powerpackWidgetDistributionDefinitionRequestStylePtrType) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) } -// PowerpackWidgetGeomapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArray and PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkArrayInput` via: -// -// PowerpackWidgetGeomapDefinitionCustomLinkArray{ PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetGeomapDefinitionCustomLinkArrayInput interface { - pulumi.Input +type PowerpackWidgetDistributionDefinitionRequestStyleOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput +func (PowerpackWidgetDistributionDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -type PowerpackWidgetGeomapDefinitionCustomLinkArray []PowerpackWidgetGeomapDefinitionCustomLinkInput +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutput() PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return o +} -func (PowerpackWidgetGeomapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) +func (o PowerpackWidgetDistributionDefinitionRequestStyleOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetDistributionDefinitionRequestStyle) *PowerpackWidgetDistributionDefinitionRequestStyle { + return &v + }).(PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) } -type PowerpackWidgetGeomapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetGeomapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +type PowerpackWidgetDistributionDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetDistributionDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { +func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutput() PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { +func (o PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) ToPowerpackWidgetDistributionDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetDistributionDefinitionRequestStylePtrOutput { 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 PowerpackWidgetDistributionDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetDistributionDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetDistributionDefinitionRequestStyle) PowerpackWidgetDistributionDefinitionRequestStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetDistributionDefinitionRequestStyle + return ret + }).(PowerpackWidgetDistributionDefinitionRequestStyleOutput) } -// 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) +// 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.Palette + }).(pulumi.StringPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.Link }).(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"` } -// 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) +// PowerpackWidgetEventStreamDefinitionInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs and PowerpackWidgetEventStreamDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionInput` via: +// +// PowerpackWidgetEventStreamDefinitionArgs{...} +type PowerpackWidgetEventStreamDefinitionInput interface { + pulumi.Input + + ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput + ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionOutput } -type PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +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 (PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetEventStreamDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return o +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { + return i.ToPowerpackWidgetEventStreamDefinitionOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { - return o +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput) } -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 (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) } -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"` +func (i PowerpackWidgetEventStreamDefinitionArgs) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionOutput).ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArgs and PowerpackWidgetGeomapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestInput` via: +// PowerpackWidgetEventStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetEventStreamDefinitionArgs, PowerpackWidgetEventStreamDefinitionPtr and PowerpackWidgetEventStreamDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventStreamDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestArgs{...} -type PowerpackWidgetGeomapDefinitionRequestInput interface { +// PowerpackWidgetEventStreamDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetEventStreamDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput - ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestOutput + ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput + ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput } -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 powerpackWidgetEventStreamDefinitionPtrType PowerpackWidgetEventStreamDefinitionArgs -func (PowerpackWidgetGeomapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +func PowerpackWidgetEventStreamDefinitionPtr(v *PowerpackWidgetEventStreamDefinitionArgs) PowerpackWidgetEventStreamDefinitionPtrInput { + return (*powerpackWidgetEventStreamDefinitionPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Background()) +func (*powerpackWidgetEventStreamDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestOutput) +func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) } -// PowerpackWidgetGeomapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArray and PowerpackWidgetGeomapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestArrayInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestArray{ PowerpackWidgetGeomapDefinitionRequestArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestArrayInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput +func (i *powerpackWidgetEventStreamDefinitionPtrType) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventStreamDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestArray []PowerpackWidgetGeomapDefinitionRequestInput +type PowerpackWidgetEventStreamDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetEventStreamDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutput() PowerpackWidgetEventStreamDefinitionOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionOutput { + return o } -type PowerpackWidgetGeomapDefinitionRequestOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { + return o.ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetGeomapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +func (o PowerpackWidgetEventStreamDefinitionOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventStreamDefinition) *PowerpackWidgetEventStreamDefinition { + return &v + }).(PowerpackWidgetEventStreamDefinitionPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { - return o +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { - 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 PowerpackWidgetEventStreamDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) Formulas() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) +// 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 query to use for this widget. -func (o PowerpackWidgetGeomapDefinitionRequestOutput) LogQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) +// 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 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) +// The title of the widget. +func (o PowerpackWidgetEventStreamDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestOutput) Queries() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) +// 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 query to use for this widget. -func (o PowerpackWidgetGeomapDefinitionRequestOutput) RumQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) +// 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 PowerpackWidgetGeomapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventStreamDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetEventStreamDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutput() PowerpackWidgetEventStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { +func (o PowerpackWidgetEventStreamDefinitionPtrOutput) ToPowerpackWidgetEventStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventStreamDefinitionPtrOutput { 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 PowerpackWidgetEventStreamDefinitionPtrOutput) Elem() PowerpackWidgetEventStreamDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetEventStreamDefinition) PowerpackWidgetEventStreamDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetEventStreamDefinition + return ret + }).(PowerpackWidgetEventStreamDefinitionOutput) } -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"` +// 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) } -// 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 +// 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) +} - ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput +// 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) } -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 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) } -func (PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +// 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.Title + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Background()) +// 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.TitleAlign + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaOutput) +// 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.TitleSize + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArray and PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput` via: +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"` +} + +// PowerpackWidgetEventTimelineDefinitionInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs and PowerpackWidgetEventTimelineDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestFormulaArray{ PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetEventTimelineDefinitionArgs{...} +type PowerpackWidgetEventTimelineDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput + ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionOutput } -type PowerpackWidgetGeomapDefinitionRequestFormulaArray []PowerpackWidgetGeomapDefinitionRequestFormulaInput - -func (PowerpackWidgetGeomapDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +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 (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (PowerpackWidgetEventTimelineDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { + return i.ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return o +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { - return o +func (i PowerpackWidgetEventTimelineDefinitionArgs) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionOutput).ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx) } -// An expression alias. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetEventTimelineDefinitionPtrInput is an input type that accepts PowerpackWidgetEventTimelineDefinitionArgs, PowerpackWidgetEventTimelineDefinitionPtr and PowerpackWidgetEventTimelineDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetEventTimelineDefinitionPtrInput` via: +// +// PowerpackWidgetEventTimelineDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetEventTimelineDefinitionPtrInput interface { + pulumi.Input -// 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) + ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput + ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput } -// 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 powerpackWidgetEventTimelineDefinitionPtrType PowerpackWidgetEventTimelineDefinitionArgs + +func PowerpackWidgetEventTimelineDefinitionPtr(v *PowerpackWidgetEventTimelineDefinitionArgs) PowerpackWidgetEventTimelineDefinitionPtrInput { + return (*powerpackWidgetEventTimelineDefinitionPtrType)(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 (*powerpackWidgetEventTimelineDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(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 *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return i.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(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 *powerpackWidgetEventTimelineDefinitionPtrType) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetEventTimelineDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventTimelineDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetEventTimelineDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutput() PowerpackWidgetEventTimelineDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionOutput { 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) -} - -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 -} - -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"` +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { + return o.ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(context.Background()) } -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (o PowerpackWidgetEventTimelineDefinitionOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetEventTimelineDefinition) *PowerpackWidgetEventTimelineDefinition { + return &v + }).(PowerpackWidgetEventTimelineDefinitionPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(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 PowerpackWidgetEventTimelineDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) +// 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) } -// 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 - - ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput +// 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) } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput - -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetEventTimelineDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetEventTimelineDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) +// 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 PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetEventTimelineDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetEventTimelineDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetEventTimelineDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutput() PowerpackWidgetEventTimelineDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) ToPowerpackWidgetEventTimelineDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetEventTimelineDefinitionPtrOutput { return o } -// 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) -} - -// 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) -} - -// 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) -} - -// Setting this to True hides values. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) -} - -// Displays an image as the background. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// 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) +func (o PowerpackWidgetEventTimelineDefinitionPtrOutput) Elem() PowerpackWidgetEventTimelineDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) PowerpackWidgetEventTimelineDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetEventTimelineDefinition + return ret + }).(PowerpackWidgetEventTimelineDefinitionOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(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 PowerpackWidgetEventTimelineDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetEventTimelineDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// 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) } -type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { - 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) } -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) +// 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 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"` +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"` } -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs and PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetFreeTextDefinitionInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs and PowerpackWidgetFreeTextDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetFreeTextDefinitionArgs{...} +type PowerpackWidgetFreeTextDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput + ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionOutput } -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 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 (PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetFreeTextDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { + return i.ToPowerpackWidgetFreeTextDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { + return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetFreeTextDefinitionArgs) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionOutput).ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs, PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr and PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetFreeTextDefinitionPtrInput is an input type that accepts PowerpackWidgetFreeTextDefinitionArgs, PowerpackWidgetFreeTextDefinitionPtr and PowerpackWidgetFreeTextDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetFreeTextDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetFreeTextDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetFreeTextDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput + ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput } -type powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs +type powerpackWidgetFreeTextDefinitionPtrType PowerpackWidgetFreeTextDefinitionArgs -func PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetFreeTextDefinitionPtr(v *PowerpackWidgetFreeTextDefinitionArgs) PowerpackWidgetFreeTextDefinitionPtrInput { + return (*powerpackWidgetFreeTextDefinitionPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetFreeTextDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { + return i.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetFreeTextDefinitionPtrType) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetFreeTextDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetFreeTextDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetFreeTextDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetFreeTextDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutput() PowerpackWidgetFreeTextDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { + return o.ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *PowerpackWidgetGeomapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetFreeTextDefinitionOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetFreeTextDefinition) *PowerpackWidgetFreeTextDefinition { return &v - }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetFreeTextDefinitionPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// 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) } -// 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) +// 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) } -type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { +type PowerpackWidgetFreeTextDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetFreeTextDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetFreeTextDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutput() PowerpackWidgetFreeTextDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) ToPowerpackWidgetFreeTextDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetFreeTextDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) PowerpackWidgetGeomapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetFreeTextDefinitionPtrOutput) Elem() PowerpackWidgetFreeTextDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetFreeTextDefinition) PowerpackWidgetFreeTextDefinition { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestFormulaLimit + var ret PowerpackWidgetFreeTextDefinition return ret - }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetFreeTextDefinitionOutput) } -// The number of results to return. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { +// 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.Count - }).(pulumi.IntPtrOutput) + return v.Color + }).(pulumi.StringPtrOutput) } -// 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 { +// 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.Order + return v.FontSize }).(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"` +// 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.Text + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs and PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput` via: +// 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"` +} + +// PowerpackWidgetGeomapDefinitionInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs and PowerpackWidgetGeomapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionInput` via: // -// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetGeomapDefinitionArgs{...} +type PowerpackWidgetGeomapDefinitionInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput + ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionOutput } -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 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 (PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { + return i.ToPowerpackWidgetGeomapDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionArgs) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionOutput).ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs, PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr and PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetGeomapDefinitionPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionArgs, PowerpackWidgetGeomapDefinitionPtr and PowerpackWidgetGeomapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetGeomapDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetGeomapDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput + ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionPtrOutput } -type powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs +type powerpackWidgetGeomapDefinitionPtrType PowerpackWidgetGeomapDefinitionArgs -func PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetGeomapDefinitionPtr(v *PowerpackWidgetGeomapDefinitionArgs) PowerpackWidgetGeomapDefinitionPtrInput { + return (*powerpackWidgetGeomapDefinitionPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetGeomapDefinitionPtrType) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinition)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutput() PowerpackWidgetGeomapDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetGeomapDefinitionOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinition) *PowerpackWidgetGeomapDefinition { return &v - }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetGeomapDefinitionPtrOutput) } -// 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) +// 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) } -// 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) +// 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 PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(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 (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { +// The title of the widget. +func (o PowerpackWidgetGeomapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinition) *string { return v.Title }).(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) +} + +// 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) +} + +// 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 PowerpackWidgetGeomapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutput() PowerpackWidgetGeomapDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetGeomapDefinitionPtrOutput) ToPowerpackWidgetGeomapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) PowerpackWidgetGeomapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetGeomapDefinitionPtrOutput) Elem() PowerpackWidgetGeomapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) PowerpackWidgetGeomapDefinition { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestFormulaStyle + var ret PowerpackWidgetGeomapDefinition return ret - }).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetGeomapDefinitionOutput) } -// 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 { +// 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.Palette + 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 PowerpackWidgetGeomapDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *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`, `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.PaletteIndex - }).(pulumi.IntPtrOutput) + return v.Requests + }).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) } -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"` +// 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) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryInput interface { - pulumi.Input +// 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.Title + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput +// 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) } -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"` +// 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) } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +// 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) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) +// 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 PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(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 PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (PowerpackWidgetGeomapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -// PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(context.Background()) +} - ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput +func (i PowerpackWidgetGeomapDefinitionCustomLinkArgs) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkOutput) } -type powerpackWidgetGeomapDefinitionRequestLogQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryArgs +// PowerpackWidgetGeomapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionCustomLinkArray and PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionCustomLinkArrayInput` via: +// +// PowerpackWidgetGeomapDefinitionCustomLinkArray{ PowerpackWidgetGeomapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetGeomapDefinitionCustomLinkArrayInput interface { + pulumi.Input -func PowerpackWidgetGeomapDefinitionRequestLogQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType)(v) + ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput } -func (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionCustomLinkArray []PowerpackWidgetGeomapDefinitionCustomLinkInput + +func (PowerpackWidgetGeomapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) +func (i PowerpackWidgetGeomapDefinitionCustomLinkArray) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutput() PowerpackWidgetGeomapDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// 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 PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) +// 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) } -// `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) +// The URL of the custom link. +func (o PowerpackWidgetGeomapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -// 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 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 name of the index to query. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +type PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionCustomLink)(nil)).Elem() } -// `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 search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() -} - -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutput() PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetGeomapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) PowerpackWidgetGeomapDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestLogQuery - 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) -} - -// 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) -} - -// `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 { - if v == nil { - return nil - } - return v.SearchQuery - }).(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 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 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"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArgs and PowerpackWidgetGeomapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestArgs{...} +type PowerpackWidgetGeomapDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput -} - -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 (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() + ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput + ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestOutput } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(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 PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) +func (PowerpackWidgetGeomapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestArgs) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestOutput) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestArray and PowerpackWidgetGeomapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestArrayInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestArray{ PowerpackWidgetGeomapDefinitionRequestArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput } -type powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs - -func PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestArray []PowerpackWidgetGeomapDefinitionRequestInput -func (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestArray) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutput() PowerpackWidgetGeomapDefinitionRequestOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestOutput) ToPowerpackWidgetGeomapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestOutput) Formulas() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetGeomapDefinitionRequestOutput) LogQuery() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestOutput) Queries() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) []PowerpackWidgetGeomapDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) } -// 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 query to use for this widget. +func (o PowerpackWidgetGeomapDefinitionRequestOutput) RumQuery() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequest) *PowerpackWidgetGeomapDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutput() PowerpackWidgetGeomapDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery - return ret - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// 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.Interval - }).(pulumi.IntPtrOutput) +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 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"` +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"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArgs and PowerpackWidgetGeomapDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput } -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"` +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 (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaOutput) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaArray and PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaArray{ PowerpackWidgetGeomapDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetGeomapDefinitionRequestFormulaArray []PowerpackWidgetGeomapDefinitionRequestFormulaInput -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutput() PowerpackWidgetGeomapDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaOutput { return o } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// An expression alias. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *string { return v.Alias }).(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) +// 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) } -// 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) +// 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 PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(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 (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { +// Styling options for widget formulas. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaOutput) Style() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormula) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormula)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaArrayOutput { return o } -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) +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) } -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"` +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"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput } -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"` +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"` } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput } -type powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs - -func PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatInput -func (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// 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) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Setting this to True hides values. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -// 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) +// Displays an image as the background. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(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 PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o +// Defines the displayed timeframe. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o +// A value for the comparator. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) +type PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// 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) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// 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.Order - }).(pulumi.StringPtrOutput) +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 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 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"` } -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs and PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput } -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 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 (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) } -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +} + +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs, PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr and PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput +type powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs -func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimitArgs) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetGeomapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { 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 PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(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 PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *PowerpackWidgetGeomapDefinitionRequestFormulaLimit { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The number of results to return. +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput { return o } -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) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaLimit) PowerpackWidgetGeomapDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestFormulaLimit + return ret + }).(PowerpackWidgetGeomapDefinitionRequestFormulaLimitOutput) } -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"` +// 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) } -// PowerpackWidgetGeomapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryInput` via: +// 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"` +} + +// PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs and PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetGeomapDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput } -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"` +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 (PowerpackWidgetGeomapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryArray and PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryArrayInput` via: +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs, PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr and PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryArray{ PowerpackWidgetGeomapDefinitionRequestQueryArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryArray []PowerpackWidgetGeomapDefinitionRequestQueryInput +type powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs -func (PowerpackWidgetGeomapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetGeomapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyleArgs) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +func (i *powerpackWidgetGeomapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { - return o +type PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { 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 PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return o } -// 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) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestFormulaStyle) *PowerpackWidgetGeomapDefinitionRequestFormulaStyle { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) +// 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) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) +// 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) } -// The process query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) -} +type PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -// The SLO query using formulas and functions. -func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) +func (PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestFormulaStyle)(nil)).Elem() } -type PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { + return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { - return o +func (o PowerpackWidgetGeomapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestFormulaStyle) PowerpackWidgetGeomapDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestFormulaStyle + return ret + }).(PowerpackWidgetGeomapDefinitionRequestFormulaStyleOutput) } -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 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) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` +// 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) } -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +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"` +} + +// PowerpackWidgetGeomapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetGeomapDefinitionRequestLogQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestLogQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQuery) *PowerpackWidgetGeomapDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// APM environment. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// 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 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) -} - -// Name of operation on service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) } -// 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) +// `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) } -// 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) +// 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) } -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// 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) } -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// `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) } -// 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 search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) PowerpackWidgetGeomapDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetGeomapDefinitionRequestLogQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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 { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// 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) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryOutput) } -// 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 { +// `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.PrimaryTagName - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// 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 { +// 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.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) } -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// 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.ResourceName + return &v.Index }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *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.Service - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) } -// 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 search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQuery) *string { if v == nil { return nil } - return &v.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) -} - -// 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) -} - -// 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) -} - -// APM resource. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(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) +// 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 PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// 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 { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *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.Env - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// 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) +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"` } -// 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 - }).(pulumi.StringPtrOutput) +// 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 } -// 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.OperationName - }).(pulumi.StringPtrOutput) +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"` } -// 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.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) } -// 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) +// 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 } -// 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) +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput` via: +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 +} + +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput { + return o +} + +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(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) +} + +// 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 PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupByArrayOutput { + return o +} + +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 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"` +} + +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(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) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(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 PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) -} - -// 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *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 PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *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.Query + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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"` } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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 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 (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeInput + +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput +func (i PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) } -type powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType)(v) +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return o +type PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestLogQueryMultiComputeArrayOutput { + return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) +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) } -// The compute options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) +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"` } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) -} +// 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 -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) + ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput } -// Group by options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) +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"` } -// 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) +func (PowerpackWidgetGeomapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -// 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) +func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(context.Background()) } -// The search options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryOutput) } -// Storage location (private beta). -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(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 } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryArray []PowerpackWidgetGeomapDefinitionRequestQueryInput -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o +func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { - return o +func (i PowerpackWidgetGeomapDefinitionRequestQueryArray) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuery - return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -// The compute options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return o } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryOutput { + return o } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +// 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) } -// Group by options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) +// 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) } -// 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.Indexes - }).(pulumi.StringArrayOutput) +// 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 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) +// A timeseries formula and functions events query. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) } -// The search options. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.Storage - }).(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) } -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"` +// The SLO query using formulas and functions. +func (o PowerpackWidgetGeomapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput interface { - pulumi.Input +type PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput +func (PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQuery)(nil)).Elem() } -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 (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return o } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryArrayOutput { + return o } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +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) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return o +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { - return o +type powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs + +func PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -// 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 (*powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -// 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 *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -// The measurable attribute to compute. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { 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 PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -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"` +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// 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 +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -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"` +// 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 (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) +// 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) } -// 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 +// Name of operation on service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) +} - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput +// 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) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput +// 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 (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) +// 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 PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -// The event facet. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// 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) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o +// 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 PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { - 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 PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) +// 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) } -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"` +// 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 + } + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput` via: +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *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 PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` +} + +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput } -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"` +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// 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 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) } -// 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) +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +// Name of operation on service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *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 PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(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) +} + +// APM resource. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(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 PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { +// 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.Metric + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *string { +// APM environment. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Order + return &v.Env }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +// 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) } -// 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 +// 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 + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +// 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.OperationName + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) -} - -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: -// -// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: -// -// nil -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput -} - -type powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType)(v) -} - -func (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// The events search string. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(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 PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// 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) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v +// APM service. +func (o PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) + return &v.Service + }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *string { +// 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.Query + return &v.Stat }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` + // 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 metrics query definition. + // The cloud cost 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: +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // 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 metrics query definition. + // The cloud cost query definition. Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// 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) +// 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 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 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 PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) 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 cloud cost query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryOutput) } -// 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 { +// 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 } @@ -5132,8 +5021,8 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Aggrega } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -5141,19 +5030,19 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) CrossOr }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *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.DataSource + return &v.DataSource }).(pulumi.StringPtrOutput) } // The name of the query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -5161,9 +5050,9 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Name() }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { +// The cloud cost query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -5171,227 +5060,215 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Query() }).(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"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. 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"` + // 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 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"` + // The search options. + Search *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput } -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"` +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. 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"` + // 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 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"` + // The search options. + Search PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) } -// 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) +// The compute options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) -} - -// 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 (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The number of hits to return. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Group by options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The process metric name. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// 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) } // 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) -} - -// 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 (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -// 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 search options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// 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) +// Storage location (private beta). +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) PowerpackWidgetGeomapDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryOutput) } -// 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 { +// The compute options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.Computes + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -5399,9 +5276,9 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) CrossO }).(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 { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -5409,39 +5286,29 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) DataSo }).(pulumi.StringPtrOutput) } -// 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) -} - -// The number of hits to return. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { +// Group by options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The process metric name. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *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.Metric - }).(pulumi.StringPtrOutput) + return v.Indexes + }).(pulumi.StringArrayOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -5449,3920 +5316,3833 @@ func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Name() }).(pulumi.StringPtrOutput) } -// 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) -} - -// An array of tags to filter by. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) []string { +// The search options. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return v.Search + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { +// Storage location (private beta). +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.TextFilter + return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +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"` } -// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +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 (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(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 PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeInput + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -// 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 +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) } -type powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType)(v) +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput { + return o } -func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) +// 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) } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +// A time interval in milliseconds. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +// The measurable attribute to compute. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { - return o +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { - return &v - }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) +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) } -// 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 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"` } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// 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 } -// 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) +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"` } -// 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 (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// 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) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// 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 } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByInput + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +} -func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { - return o +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { 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) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput { + return o } -// 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 - }).(pulumi.StringPtrOutput) +// The event facet. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(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 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) +// The options for sorting group by results. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// 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) -} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// 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 (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// 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 (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. 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 (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 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"` +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"` } -// PowerpackWidgetGeomapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput } -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 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 (PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetGeomapDefinitionRequestRumQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryArgs +type powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetGeomapDefinitionRequestRumQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType)(v) -} +func PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +} -func (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { 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) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// 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) +// 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) } -// `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 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 search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(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) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) PowerpackWidgetGeomapDefinitionRequestRumQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestRumQuery + var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySort 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) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The name of the index to query. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *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.Index + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// `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 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.MultiComputes - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) + return v.Metric + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { +// 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.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 PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput } -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 PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The events search string. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchOutput) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { +// The events search string. +func (o PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } - return &v.Aggregation + return &v.Query }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// 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.Interval - }).(pulumi.IntPtrOutput) -} +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryInput interface { + pulumi.Input -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"` + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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"` +} - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput +func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -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 PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput +type powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType)(v) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) +} -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { 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 PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(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 PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - return o +// 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 PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { - 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 PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) +// The metrics query definition. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -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"` -} +type PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input +func (PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o } -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 (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput { + return o } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// 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 PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +// 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) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// 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) +} + +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput +} + +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +} + +// 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 PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(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) +// 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) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +// The number of hits to return. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +// The process metric name. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// 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) +} + +// 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) +} + +// 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 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 PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { +// 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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { +// 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.Order + return &v.DataSource }).(pulumi.StringPtrOutput) } -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"` +// 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) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput` via: -// -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput interface { - pulumi.Input +// 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) +} - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput +// 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) } -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"` +// 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 (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +// 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) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) +// 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) } -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput` via: +type PowerpackWidgetGeomapDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` +} + +// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +} -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return o +// 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 + + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { - return o +type powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs + +func PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType)(v) } -// The aggregation method. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (*powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -// The facet name. -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -// 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 (i *powerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { 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 PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -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"` +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetGeomapDefinitionStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs and PowerpackWidgetGeomapDefinitionStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStyleInput` via: -// -// PowerpackWidgetGeomapDefinitionStyleArgs{...} -type PowerpackWidgetGeomapDefinitionStyleInput interface { - pulumi.Input +// 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) +} - ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput - ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStyleOutput +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -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"` +// 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 (PowerpackWidgetGeomapDefinitionStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(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 (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { - return i.ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput) +// 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) } -func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) +// 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 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: -// -// PowerpackWidgetGeomapDefinitionStyleArgs{...} -// -// or: -// -// nil -type PowerpackWidgetGeomapDefinitionStylePtrInput interface { - pulumi.Input - - ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput - ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput -} - -type powerpackWidgetGeomapDefinitionStylePtrType PowerpackWidgetGeomapDefinitionStyleArgs - -func PowerpackWidgetGeomapDefinitionStylePtr(v *PowerpackWidgetGeomapDefinitionStyleArgs) PowerpackWidgetGeomapDefinitionStylePtrInput { - return (*powerpackWidgetGeomapDefinitionStylePtrType)(v) -} - -func (*powerpackWidgetGeomapDefinitionStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() -} - -func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStylePtrOutput) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionStyle) *PowerpackWidgetGeomapDefinitionStyle { - return &v - }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) PowerpackWidgetGeomapDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestQuerySloQueryOutput) } -// 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) +// 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 + }).(pulumi.StringPtrOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionStylePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetGeomapDefinitionStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() +// 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) } -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o +// 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) } -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { - return o +// 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) } -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) PowerpackWidgetGeomapDefinitionStyle { - if v != nil { - return *v +// 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 } - var ret PowerpackWidgetGeomapDefinitionStyle - return ret - }).(PowerpackWidgetGeomapDefinitionStyleOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -// The color palette to apply to the widget. -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) *string { +// 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.Palette + return &v.SloId }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to flip the palette tones. -func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) PaletteFlip() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) *bool { +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetGeomapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.PaletteFlip - }).(pulumi.BoolPtrOutput) + return v.SloQueryType + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetGeomapDefinitionView struct { - // The two-letter ISO code of a country to focus the map on (or `WORLD`). - Focus string `pulumi:"focus"` +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"` } -// PowerpackWidgetGeomapDefinitionViewInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs and PowerpackWidgetGeomapDefinitionViewOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetGeomapDefinitionViewArgs{...} -type PowerpackWidgetGeomapDefinitionViewInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput - ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput } -type PowerpackWidgetGeomapDefinitionViewArgs struct { - // The two-letter ISO code of a country to focus the map on (or `WORLD`). - Focus pulumi.StringInput `pulumi:"focus"` +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 (PowerpackWidgetGeomapDefinitionViewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { - return i.ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput).ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetGeomapDefinitionViewPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs, PowerpackWidgetGeomapDefinitionViewPtr and PowerpackWidgetGeomapDefinitionViewPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetGeomapDefinitionViewArgs{...} +// PowerpackWidgetGeomapDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetGeomapDefinitionViewPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput - ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetGeomapDefinitionViewPtrType PowerpackWidgetGeomapDefinitionViewArgs +type powerpackWidgetGeomapDefinitionRequestRumQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryArgs -func PowerpackWidgetGeomapDefinitionViewPtr(v *PowerpackWidgetGeomapDefinitionViewArgs) PowerpackWidgetGeomapDefinitionViewPtrInput { - return (*powerpackWidgetGeomapDefinitionViewPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestRumQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetGeomapDefinitionViewPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetGeomapDefinitionViewOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetGeomapDefinitionViewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { - return o.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionView) *PowerpackWidgetGeomapDefinitionView { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQuery) *PowerpackWidgetGeomapDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetGeomapDefinitionViewPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) } -// 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) +// `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 PowerpackWidgetGeomapDefinitionViewPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetGeomapDefinitionViewPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(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 (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { +// `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 search query to use. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) Elem() PowerpackWidgetGeomapDefinitionViewOutput { - return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionView) PowerpackWidgetGeomapDefinitionView { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQuery) PowerpackWidgetGeomapDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetGeomapDefinitionView + var ret PowerpackWidgetGeomapDefinitionRequestRumQuery return ret - }).(PowerpackWidgetGeomapDefinitionViewOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryOutput) } -// 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 { +// `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.Focus + 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) } -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"` +// `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) } -// PowerpackWidgetHeatmapDefinitionInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs and PowerpackWidgetHeatmapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionInput` via: +// 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 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"` +} + +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionArgs{...} -type PowerpackWidgetHeatmapDefinitionInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput - ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput } -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 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 (PowerpackWidgetHeatmapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { - return i.ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput).ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs, PowerpackWidgetHeatmapDefinitionPtr and PowerpackWidgetHeatmapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionPtrInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionArgs{...} +// PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionPtrInput interface { +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput - ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionPtrType PowerpackWidgetHeatmapDefinitionArgs +type powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionPtr(v *PowerpackWidgetHeatmapDefinitionArgs) PowerpackWidgetHeatmapDefinitionPtrInput { - return (*powerpackWidgetHeatmapDefinitionPtrType)(v) +func PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionPtrOutput) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinition { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionPtrOutput) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) -} - -// The title of the widget. -func (o PowerpackWidgetHeatmapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// 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 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) -} - -// 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) +// 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 PowerpackWidgetHeatmapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) PowerpackWidgetHeatmapDefinition { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinition + var ret PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery 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) -} - -// 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) -} - -// 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) + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *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 PowerpackWidgetHeatmapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.Facet }).(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 { +// 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.Yaxis - }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -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 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"` } -// PowerpackWidgetHeatmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArgs and PowerpackWidgetHeatmapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} -type PowerpackWidgetHeatmapDefinitionCustomLinkInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput - ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput } -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 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 (PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArray and PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionCustomLinkArray{ PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetHeatmapDefinitionCustomLinkArray []PowerpackWidgetHeatmapDefinitionCustomLinkInput +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetHeatmapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetHeatmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput { 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 facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(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 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) } -// 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) +// 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 PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupByArrayOutput { return o } -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) +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 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"` +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"` } -// PowerpackWidgetHeatmapDefinitionEventInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArgs and PowerpackWidgetHeatmapDefinitionEventOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventInput` via: +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionEventArgs{...} -type PowerpackWidgetHeatmapDefinitionEventInput interface { +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput - ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetHeatmapDefinitionEventArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { - return i.ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventOutput) +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) } -// PowerpackWidgetHeatmapDefinitionEventArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArray and PowerpackWidgetHeatmapDefinitionEventArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionEventArray{ PowerpackWidgetHeatmapDefinitionEventArgs{...} } -type PowerpackWidgetHeatmapDefinitionEventArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput - ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionEventArray []PowerpackWidgetHeatmapDefinitionEventInput - -func (PowerpackWidgetHeatmapDefinitionEventArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() +func (i PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Background()) -} +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { + pulumi.Input -func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetHeatmapDefinitionEventOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionEventOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() -} +type powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs -func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { - return o +func PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { - return o +func (*powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// 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) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionEventArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionEventArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -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 (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(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 (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// 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 +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -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"` +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetHeatmapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +// 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) } -func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Background()) -} +type PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestOutput) +func (PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -// 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 - - ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -type PowerpackWidgetHeatmapDefinitionRequestArray []PowerpackWidgetHeatmapDefinitionRequestInput - -func (PowerpackWidgetHeatmapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery + return ret + }).(PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) +// The aggregation method. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +// 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.Order + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { - return o +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"` } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { - return o +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput } -// The query to use for this widget. -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ApmQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) +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 (o PowerpackWidgetHeatmapDefinitionRequestOutput) Formulas() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(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 (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -// 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 (i PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) } -// 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) +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestOutput) Queries() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeInput + +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(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 PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(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 PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) } -// 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 PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return o +} -func (PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput { + return o } -func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { +// 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 PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetGeomapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { +func (o PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -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) +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 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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryInput` via: +// PowerpackWidgetGeomapDefinitionStyleInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs and PowerpackWidgetGeomapDefinitionStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStyleInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryInput interface { +// PowerpackWidgetGeomapDefinitionStyleArgs{...} +type PowerpackWidgetGeomapDefinitionStyleInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput + ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput + ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStyleOutput } -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 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 (PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { + return i.ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionStyleArgs) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStyleOutput).ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionStyleArgs, PowerpackWidgetGeomapDefinitionStylePtr and PowerpackWidgetGeomapDefinitionStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionStylePtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetGeomapDefinitionStyleArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionStylePtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput + ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput } -type powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs +type powerpackWidgetGeomapDefinitionStylePtrType PowerpackWidgetGeomapDefinitionStyleArgs -func PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionStylePtr(v *PowerpackWidgetGeomapDefinitionStyleArgs) PowerpackWidgetGeomapDefinitionStylePtrInput { + return (*powerpackWidgetGeomapDefinitionStylePtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionStylePtrType) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionStylePtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutput() PowerpackWidgetGeomapDefinitionStyleOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStyleOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { +func (o PowerpackWidgetGeomapDefinitionStyleOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionStyle) *PowerpackWidgetGeomapDefinitionStyle { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) -} - -// `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) -} - -// 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) -} - -// 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) + }).(PowerpackWidgetGeomapDefinitionStylePtrOutput) } -// `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) +// 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 search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionStyle)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutput() PowerpackWidgetGeomapDefinitionStylePtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) ToPowerpackWidgetGeomapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionStylePtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) PowerpackWidgetHeatmapDefinitionRequestApmQuery { +func (o PowerpackWidgetGeomapDefinitionStylePtrOutput) Elem() PowerpackWidgetGeomapDefinitionStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionStyle) PowerpackWidgetGeomapDefinitionStyle { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestApmQuery + var ret PowerpackWidgetGeomapDefinitionStyle return ret - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) -} - -// `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.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// 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.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetGeomapDefinitionStyleOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { +// 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.Index + return &v.Palette }).(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 { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { +// 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.SearchQuery - }).(pulumi.StringPtrOutput) + return &v.PaletteFlip + }).(pulumi.BoolPtrOutput) } -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 PowerpackWidgetGeomapDefinitionView struct { + // The two-letter ISO code of a country to focus the map on (or `WORLD`). + Focus string `pulumi:"focus"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetGeomapDefinitionViewInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs and PowerpackWidgetGeomapDefinitionViewOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetGeomapDefinitionViewArgs{...} +type PowerpackWidgetGeomapDefinitionViewInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput + ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewOutput } -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 PowerpackWidgetGeomapDefinitionViewArgs struct { + // The two-letter ISO code of a country to focus the map on (or `WORLD`). + Focus pulumi.StringInput `pulumi:"focus"` } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionViewArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { + return i.ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetGeomapDefinitionViewArgs) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewOutput).ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetGeomapDefinitionViewPtrInput is an input type that accepts PowerpackWidgetGeomapDefinitionViewArgs, PowerpackWidgetGeomapDefinitionViewPtr and PowerpackWidgetGeomapDefinitionViewPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetGeomapDefinitionViewPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetGeomapDefinitionViewArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetGeomapDefinitionViewPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput + ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetGeomapDefinitionViewPtrType PowerpackWidgetGeomapDefinitionViewArgs -func PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetGeomapDefinitionViewPtr(v *PowerpackWidgetGeomapDefinitionViewArgs) PowerpackWidgetGeomapDefinitionViewPtrInput { + return (*powerpackWidgetGeomapDefinitionViewPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetGeomapDefinitionViewPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return i.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetGeomapDefinitionViewPtrType) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetGeomapDefinitionViewPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionViewOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionViewOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutput() PowerpackWidgetGeomapDefinitionViewOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { + return o.ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetGeomapDefinitionViewOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetGeomapDefinitionView) *PowerpackWidgetGeomapDefinitionView { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetGeomapDefinitionViewPtrOutput) } -// 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 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 PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetGeomapDefinitionViewPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetGeomapDefinitionViewPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetGeomapDefinitionView)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutput() PowerpackWidgetGeomapDefinitionViewPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) ToPowerpackWidgetGeomapDefinitionViewPtrOutputWithContext(ctx context.Context) PowerpackWidgetGeomapDefinitionViewPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetGeomapDefinitionViewPtrOutput) Elem() PowerpackWidgetGeomapDefinitionViewOutput { + return o.ApplyT(func(v *PowerpackWidgetGeomapDefinitionView) PowerpackWidgetGeomapDefinitionView { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetGeomapDefinitionView return ret - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetGeomapDefinitionViewOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { +// 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.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet + return &v.Focus }).(pulumi.StringPtrOutput) } -// 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 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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetHeatmapDefinitionInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs and PowerpackWidgetHeatmapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetHeatmapDefinitionArgs{...} +type PowerpackWidgetHeatmapDefinitionInput 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() + ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput + ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +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 (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) +func (PowerpackWidgetHeatmapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { + return i.ToPowerpackWidgetHeatmapDefinitionOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionArgs) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionOutput).ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +// PowerpackWidgetHeatmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionArgs, PowerpackWidgetHeatmapDefinitionPtr and PowerpackWidgetHeatmapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionPtrInput interface { + pulumi.Input -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput + ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return o -} +type powerpackWidgetHeatmapDefinitionPtrType PowerpackWidgetHeatmapDefinitionArgs -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { - return o +func PowerpackWidgetHeatmapDefinitionPtr(v *PowerpackWidgetHeatmapDefinitionArgs) PowerpackWidgetHeatmapDefinitionPtrInput { + return (*powerpackWidgetHeatmapDefinitionPtrType)(v) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (*powerpackWidgetHeatmapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -// 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) +func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetHeatmapDefinitionPtrType) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutput() PowerpackWidgetHeatmapDefinitionOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionOutput { return o } -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 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"` -} - -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput +func (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(context.Background()) } -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 (o PowerpackWidgetHeatmapDefinitionOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinition) *PowerpackWidgetHeatmapDefinition { + return &v + }).(PowerpackWidgetHeatmapDefinitionPtrOutput) } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +// 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) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) +// 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 (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetHeatmapDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetHeatmapDefinitionOutput) Requests() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionRequest { return v.Requests }).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) } -// 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 +// 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 powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs - -func PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +// The title of the widget. +func (o PowerpackWidgetHeatmapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +// 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) } -func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// 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 (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinition)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutput() PowerpackWidgetHeatmapDefinitionPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) ToPowerpackWidgetHeatmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) PowerpackWidgetHeatmapDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinition + return ret + }).(PowerpackWidgetHeatmapDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// 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 facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// 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) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - 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 PowerpackWidgetHeatmapDefinitionPtrOutput) Requests() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) []PowerpackWidgetHeatmapDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v +// The title of the widget. +func (o PowerpackWidgetHeatmapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinition) *string { + if v == nil { + return nil } - var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) + return v.Title + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { +// 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.Aggregation + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { +// 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.Facet + return v.TitleSize }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { +// 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.Order - }).(pulumi.StringPtrOutput) + return v.Yaxis + }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetHeatmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArgs and PowerpackWidgetHeatmapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} +type PowerpackWidgetHeatmapDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput } -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"` +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 (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArgs) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkOutput) } -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionCustomLinkArray and PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionCustomLinkArray{ PowerpackWidgetHeatmapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetHeatmapDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput +type PowerpackWidgetHeatmapDefinitionCustomLinkArray []PowerpackWidgetHeatmapDefinitionCustomLinkInput -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionCustomLinkArray) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutput() PowerpackWidgetHeatmapDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) 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) +// 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) } -// 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 label for the custom link URL. +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The URL of the custom link. +func (o PowerpackWidgetHeatmapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(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 PowerpackWidgetHeatmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { +type PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionCustomLink)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHeatmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionCustomLinkArrayOutput { 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 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 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 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"` } -// PowerpackWidgetHeatmapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaInput` via: +// PowerpackWidgetHeatmapDefinitionEventInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArgs and PowerpackWidgetHeatmapDefinitionEventOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaInput interface { +// PowerpackWidgetHeatmapDefinitionEventArgs{...} +type PowerpackWidgetHeatmapDefinitionEventInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput + ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput + ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventOutput } -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 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 (PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { + return i.ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) +func (i PowerpackWidgetHeatmapDefinitionEventArgs) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventOutput) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArray and PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput` via: +// PowerpackWidgetHeatmapDefinitionEventArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionEventArray and PowerpackWidgetHeatmapDefinitionEventArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionEventArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetHeatmapDefinitionEventArray{ PowerpackWidgetHeatmapDefinitionEventArgs{...} } +type PowerpackWidgetHeatmapDefinitionEventArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput + ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaArray []PowerpackWidgetHeatmapDefinitionRequestFormulaInput +type PowerpackWidgetHeatmapDefinitionEventArray []PowerpackWidgetHeatmapDefinitionEventInput -func (PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionEventArray) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionEventArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionEventOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { +func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutput() PowerpackWidgetHeatmapDefinitionEventOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { +func (o PowerpackWidgetHeatmapDefinitionEventOutput) ToPowerpackWidgetHeatmapDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventOutput { 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 options for limiting results returned. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) +// 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) } -// Styling options for widget formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Style() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) +// 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 PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionEventArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionEvent)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutput() PowerpackWidgetHeatmapDefinitionEventArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionEventArrayOutput) ToPowerpackWidgetHeatmapDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionEventArrayOutput { 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 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 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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackWidgetHeatmapDefinitionRequestInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestArgs and PowerpackWidgetHeatmapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackWidgetHeatmapDefinitionRequestArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput + ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput } -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"` +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 (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestArgs) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestOutput) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestArray and PowerpackWidgetHeatmapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestArray{ PowerpackWidgetHeatmapDefinitionRequestArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetHeatmapDefinitionRequestArray []PowerpackWidgetHeatmapDefinitionRequestInput -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestArray) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutput() PowerpackWidgetHeatmapDefinitionRequestOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ToPowerpackWidgetHeatmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestOutput { return o } -// 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) +// The query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) ApmQuery() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) } -// 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 (o PowerpackWidgetHeatmapDefinitionRequestOutput) Formulas() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) } -// 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) +// The query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) LogQuery() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) } -// Setting this to True hides values. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +// 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) } -// Displays an image as the background. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(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) } -// 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 PowerpackWidgetHeatmapDefinitionRequestOutput) Queries() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) []PowerpackWidgetHeatmapDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) } -// 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 query to use for this widget. +func (o PowerpackWidgetHeatmapDefinitionRequestOutput) RumQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequest) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(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) } -// A value for the comparator. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// 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 PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutput() PowerpackWidgetHeatmapDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestArrayOutput { 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 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 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 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"` } -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput } -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 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 (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs +type powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestApmQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// `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 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) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() +// `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) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQuery) PowerpackWidgetHeatmapDefinitionRequestApmQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestFormulaLimit + var ret PowerpackWidgetHeatmapDefinitionRequestApmQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { +// `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.Count - }).(pulumi.IntPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -// 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 { +// 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.Order + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) +} + +// 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.Index }).(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"` +// `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.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput` via: +// 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.SearchQuery + }).(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"` +} + +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput } -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 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 (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr and PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs +type powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) } -// 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 method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestFormulaStyle + var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryOutput) } -// 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 method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *int { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.PaletteIndex + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// 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 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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput -} - -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 (PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput } -type powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs - -func PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByInput -func (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) +// 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) } -// `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) +// 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) } -// 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) +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -// 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) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// `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) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +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 PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +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 (PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o +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 (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { - return o +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) PowerpackWidgetHeatmapDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestLogQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -// `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.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) } -// 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.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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.Index - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// `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.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// 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.SearchQuery - }).(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"` -} - -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput -} - -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 (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) 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) +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *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) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -9371,8 +9151,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Ag } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -9380,2657 +9160,2766 @@ func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Fa }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *int { +// 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.Interval - }).(pulumi.IntPtrOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy struct { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute 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 *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs struct { +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeInput -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(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) +// 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -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 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 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 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"` } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput -} - -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"` -} - -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) +func (PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaArray and PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput` via: // -// nil -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput } -type powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs - -func PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetHeatmapDefinitionRequestFormulaArray []PowerpackWidgetHeatmapDefinitionRequestFormulaInput -func (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) 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 PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// 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 options for limiting results returned. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// Styling options for widget formulas. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaOutput) Style() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormula) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) +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 aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +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 facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +// 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 } -// 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.Order - }).(pulumi.StringPtrOutput) +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"` } -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"` +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +} + +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: // -// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput } -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"` -} +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatInput -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) } -// 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 +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return o +} -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) +// 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +// 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { - return o +// 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) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(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 PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(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) +// A value for the comparator. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaConditionalFormatArrayOutput { 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) +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) } -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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput } -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"` +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 (PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr and PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs +type powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs -func PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimitArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestProcessQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { 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) -} - -// 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) + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The number of results to return. +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) PowerpackWidgetHeatmapDefinitionRequestProcessQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaLimit) PowerpackWidgetHeatmapDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestProcessQuery + var ret PowerpackWidgetHeatmapDefinitionRequestFormulaLimit 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) + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaLimitOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *int { +// 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.Limit + return v.Count }).(pulumi.IntPtrOutput) } -// 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) -} - -// Your chosen search term. -func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { +// 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.SearchBy + return v.Order }).(pulumi.StringPtrOutput) } -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 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs and PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput } -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 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"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArray and PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs, PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr and PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryArray{ PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryArray []PowerpackWidgetHeatmapDefinitionRequestQueryInput +type powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs -func (PowerpackWidgetHeatmapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyleArgs) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType)(v) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { 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) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) +// 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) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +// 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) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) -} +type PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -// The process query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) +func (PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestFormulaStyle)(nil)).Elem() } -// The SLO query using formulas and functions. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o } -type PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput { + return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return o +func (o PowerpackWidgetHeatmapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestFormulaStyle) PowerpackWidgetHeatmapDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestFormulaStyle + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestFormulaStyleOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { - return o +// 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) } -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) +// 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 PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestLogQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) } -// 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) +// `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) } -// 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) +// 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) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(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) } -// APM service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// `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) } -// 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) +// The search query to use. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQuery) PowerpackWidgetHeatmapDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetHeatmapDefinitionRequestLogQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// 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) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryOutput) } -// 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 { +// `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.PrimaryTagName - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// 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 { +// 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.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *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.ResourceName + return &v.Index }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *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.Service - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) } -// 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 { +// 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.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// 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) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery)(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 (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput { + 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 PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryOutput) } -// 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 +// 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) } -// APM resource. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryComputeQuery) *string { + if v == nil { + return nil + } + 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) +// 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) } -// 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 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"` } -type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +// 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 -func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o +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 (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) } -// 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) +// 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 } -// 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) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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.GroupBies - }).(pulumi.StringArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) } -// 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) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(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 PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return o } -// 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) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput { + return o } -// 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) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(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) +// 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) } -// 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) +// 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 PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput` via: +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupByArrayOutput { + return o +} + +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 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"` +} + +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { 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) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) 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 PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *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) +// 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 PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Aggregator + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return v.Facet }).(pulumi.StringPtrOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *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.DataSource + return &v.Order }).(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) +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"` } -// 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) -} +// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput interface { - pulumi.Input +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"` +} - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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 (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +// 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 } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeInput + +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) } -// 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 +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return o +} -func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType)(v) +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput { + return o } -func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +// 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 PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +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) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +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"` } -// The compute options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) +// 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 } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +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"` } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() } -// Group by options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -// 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 PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) } -// 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 PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -// The search options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// Storage location (private beta). -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType)(v) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { +func (*powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHeatmapDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { 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 PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestProcessQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// A list of processes. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(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) } -// Group by options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil +// Your chosen metric. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// Your chosen search term. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) PowerpackWidgetHeatmapDefinitionRequestProcessQuery { + if v != nil { + return *v } - return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) + var ret PowerpackWidgetHeatmapDefinitionRequestProcessQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestProcessQueryOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []string { +// A list of processes. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.Indexes + return v.FilterBies }).(pulumi.StringArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { +// 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.Name - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The search options. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { +// Your chosen metric. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.Search - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) + return &v.Metric + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { +// Your chosen search term. +func (o PowerpackWidgetHeatmapDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.Storage + return v.SearchBy }).(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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput } -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"` +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 (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryArray and PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryArray{ PowerpackWidgetHeatmapDefinitionRequestQueryArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetHeatmapDefinitionRequestQueryArray []PowerpackWidgetHeatmapDefinitionRequestQueryInput -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryOutput { 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 APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// A time interval in milliseconds. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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 measurable attribute to compute. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// A timeseries formula and functions events query. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) } -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) +// The process query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) } -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"` +// The SLO query using formulas and functions. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input +type PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput +func (PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQuery)(nil)).Elem() } -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 (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return o } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryArrayOutput { + return o } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +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 (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return o +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { - return o +type powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -// The event facet. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (*powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(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 *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(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 *powerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { 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 PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -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"` +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// 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) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +// APM environment. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) +// 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) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +// Name of operation on service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// 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 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) } -type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs - -func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +// 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) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// 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 PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(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) +// 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) } -// 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) +// 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) } -// 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) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// 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) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o +// 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 (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - 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 PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v +// 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 } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) + return v.PrimaryTagValue + }).(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 PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Aggregation + return &v.ResourceName }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Metric + return &v.Service }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *string { +// 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.Order + return &v.Stat }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs +type powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// The events search string. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// APM environment. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { +// 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) +} + +// 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) +} + +// Name of operation on service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *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 PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// APM resource. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(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 PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch + var ret PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryOutput) } -// The events search string. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Query + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +// 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) +} + +// 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) +} + +// 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.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) +} + +// 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) +} + +// 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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` + // 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 metrics query definition. + // The cloud cost query definition. Query string `pulumi:"query"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` + // 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 metrics query definition. + // The cloud cost query definition. Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// 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 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) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(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) +// 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 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 PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -// The metrics query definition. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The cloud cost query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryOutput) } -// 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 { +// 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 } @@ -12039,8 +11928,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Aggreg } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -12048,19 +11937,19 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) CrossO }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { +// 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 + return &v.DataSource }).(pulumi.StringPtrOutput) } // The name of the query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -12068,9 +11957,9 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Name() }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { +// The cloud cost query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -12078,227 +11967,215 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) 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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. 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"` + // 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 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"` + // The search options. + Search *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput } -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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. 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"` + // 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 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"` + // The search options. + Search PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) } -// 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 compute options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(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) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The number of hits to return. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Group by options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The process metric name. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// 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) } // 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) -} - -// 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 (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) string { return v.Name }).(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) +// The search options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// 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) +// Storage location (private beta). +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryOutput) } -// 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 { +// The compute options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.Computes + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -12306,9 +12183,9 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Cross }).(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 { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -12316,39 +12193,29 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) DataS }).(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 { +// Group by options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The process metric name. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +// 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.Metric - }).(pulumi.StringPtrOutput) + return v.Indexes + }).(pulumi.StringArrayOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -12356,1299 +12223,1553 @@ func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Name( }).(pulumi.StringPtrOutput) } -// 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.Sort - }).(pulumi.StringPtrOutput) -} - -// An array of tags to filter by. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) []string { +// The search options. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return v.Search + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { +// Storage location (private beta). +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.TextFilter + return v.Storage }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +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 (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +// 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 + + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput } -func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeInput + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) } -type powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput { + return o } -func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +// A time interval in milliseconds. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +// The measurable attribute to compute. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +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 PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { - return &v - }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +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"` } -// 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) +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +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"` } -// 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 (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(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 (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -// 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 (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) } -// 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) +// 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 } -// 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 PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByInput + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery - return ret - }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) +// The event facet. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// 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) +// 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(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) } -// 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) +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// 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) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// 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) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. 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 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 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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput } -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 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 (PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { 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) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// 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 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) } -// `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 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 search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(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) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) PowerpackWidgetHeatmapDefinitionRequestRumQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestRumQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySort 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) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *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.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 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.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) + return v.Metric + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { +// 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.SearchQuery + return v.Order }).(pulumi.StringPtrOutput) } -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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput } -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"` +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// 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 events search string. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryEventQuerySearchOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *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.Aggregation + return &v.Query }).(pulumi.StringPtrOutput) } -// 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) +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// 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) -} +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryInput interface { + pulumi.Input -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"` + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput } -// 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 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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"` +} - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput +func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(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 (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput +type powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType)(v) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) -} +func (*powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -// 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 PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { +// 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) +} + +// The metrics query definition. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput { return o } -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 PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryOutput) } -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 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) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput` via: +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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) +} + +// 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` +} + +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(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) +// 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) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +// The number of hits to return. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +// The process metric name. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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 PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { +// 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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { +// 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.Order + return &v.DataSource }).(pulumi.StringPtrOutput) } -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"` +// 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) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput interface { - pulumi.Input +// 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) +} - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput +// 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) } -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"` +// 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 + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +// 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.Sort + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +// 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.TagFilters + }).(pulumi.StringArrayOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) +// 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.TextFilter + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput` via: +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` +} + +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput - -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { +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: +// +// PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput +} + +type powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType)(v) +} + +func (*powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *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 PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *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 PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +// 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 (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { +// 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) +} + +// 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) +} + +// 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 of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput { 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 PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQuery struct { +// 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) +} + +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetHeatmapDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(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) +} + +// 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) +} + +// 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`, `timeSlice`. 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 *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs +type powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestRumQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) } // 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) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) string { return v.Index }).(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 { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) PowerpackWidgetHeatmapDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQuery + var ret PowerpackWidgetHeatmapDefinitionRequestRumQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -13657,18 +13778,18 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Index() p } // `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 { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -13676,7 +13797,7 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -13685,18 +13806,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: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -13705,125 +13826,125 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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 (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -13832,8 +13953,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -13842,8 +13963,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } @@ -13851,124 +13972,124 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy struct { +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 *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput interface { +// 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 - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs struct { +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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput { 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 PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupByOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -13977,18 +14098,18 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -13997,127 +14118,125 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -14126,8 +14245,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -14136,8 +14255,8 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -14145,7 +14264,7 @@ func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -14154,18 +14273,18 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -14174,2202 +14293,2202 @@ type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { 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 PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput { 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 PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetHeatmapDefinitionRequestRumQueryMultiComputeOutput) } -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"` +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"` } -// PowerpackWidgetHeatmapDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs and PowerpackWidgetHeatmapDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStyleInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} -type PowerpackWidgetHeatmapDefinitionRequestStyleInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput - ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput } -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"` +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"` } -func (PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs, PowerpackWidgetHeatmapDefinitionRequestStylePtr and PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStylePtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionRequestStylePtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput - ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionRequestStylePtrType PowerpackWidgetHeatmapDefinitionRequestStyleArgs +type powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs -func PowerpackWidgetHeatmapDefinitionRequestStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestStyleArgs) PowerpackWidgetHeatmapDefinitionRequestStylePtrInput { - return (*powerpackWidgetHeatmapDefinitionRequestStylePtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestStyle) *PowerpackWidgetHeatmapDefinitionRequestStyle { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) } -// 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) +// `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) } -type PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() +// 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) } -func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { +// `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 PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestStyle) PowerpackWidgetHeatmapDefinitionRequestStyle { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionRequestStyle + var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryOutput) } -// 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 { +// `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.Palette - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -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"` +// 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) } -// PowerpackWidgetHeatmapDefinitionYaxisInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs and PowerpackWidgetHeatmapDefinitionYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisInput` via: -// -// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} -type PowerpackWidgetHeatmapDefinitionYaxisInput interface { +// 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.Index + }).(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 { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) +} + +// 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.SearchQuery + }).(pulumi.StringPtrOutput) +} + +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"` +} + +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput` via: +// +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput - ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput } -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 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 (PowerpackWidgetHeatmapDefinitionYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { - return i.ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput).ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHeatmapDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs, PowerpackWidgetHeatmapDefinitionYaxisPtr and PowerpackWidgetHeatmapDefinitionYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHeatmapDefinitionYaxisPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput - ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetHeatmapDefinitionYaxisPtrType PowerpackWidgetHeatmapDefinitionYaxisArgs +type powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetHeatmapDefinitionYaxisPtr(v *PowerpackWidgetHeatmapDefinitionYaxisArgs) PowerpackWidgetHeatmapDefinitionYaxisPtrInput { - return (*powerpackWidgetHeatmapDefinitionYaxisPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHeatmapDefinitionYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetHeatmapDefinitionYaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return o.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionYaxis) *PowerpackWidgetHeatmapDefinitionYaxis { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) -} - -// 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 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) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(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) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetHeatmapDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) PowerpackWidgetHeatmapDefinitionYaxis { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHeatmapDefinitionYaxis + var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetHeatmapDefinitionYaxisOutput) -} - -// 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.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) + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Max + return &v.Aggregation }).(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 { +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Min + return v.Facet }).(pulumi.StringPtrOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) *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.Scale - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -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 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"` } -// PowerpackWidgetHostmapDefinitionInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs and PowerpackWidgetHostmapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionArgs{...} -type PowerpackWidgetHostmapDefinitionInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput - ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput } -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 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 (PowerpackWidgetHostmapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { - return i.ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) } -func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(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 PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput).ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx) +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByInput + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetHostmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs, PowerpackWidgetHostmapDefinitionPtr and PowerpackWidgetHostmapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionPtrInput interface { - pulumi.Input +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput - ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionPtrOutput +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) } -type powerpackWidgetHostmapDefinitionPtrType PowerpackWidgetHostmapDefinitionArgs +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func PowerpackWidgetHostmapDefinitionPtr(v *PowerpackWidgetHostmapDefinitionArgs) PowerpackWidgetHostmapDefinitionPtrInput { - return (*powerpackWidgetHostmapDefinitionPtrType)(v) +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetHostmapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return o } -func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput { + return o } -func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionPtrOutput) +// The facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionOutput 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 (PowerpackWidgetHostmapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(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 PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { +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 PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(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 PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinition { - return &v - }).(PowerpackWidgetHostmapDefinitionPtrOutput) +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"` } -// 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) +// 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 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) +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"` } -// 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 (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -// 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 (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -// 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 (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// 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) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// 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) +// 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 + + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -// The title of the widget. -func (o PowerpackWidgetHostmapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +type powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs + +func PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -// 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 (*powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -// 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 *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionPtrOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *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) +// 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) } -// 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery)(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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + 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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery { + if v != nil { + return *v } - return v.Style - }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) + var ret PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetHostmapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestSecurityQueryGroupBySortQuery) *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 { +// 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.TitleSize + return &v.Order }).(pulumi.StringPtrOutput) } -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 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"` } -// PowerpackWidgetHostmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArgs and PowerpackWidgetHostmapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} -type PowerpackWidgetHostmapDefinitionCustomLinkInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput - ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput } -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 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"` } -func (PowerpackWidgetHostmapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArray and PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionCustomLinkArray{ PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetHostmapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionCustomLinkArray []PowerpackWidgetHostmapDefinitionCustomLinkInput +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput { 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 aggregation method. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.OverrideLabel }).(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 PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestSecurityQueryMultiComputeArrayOutput { 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 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 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 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"` } -// PowerpackWidgetHostmapDefinitionRequestInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs and PowerpackWidgetHostmapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestInput` via: +// PowerpackWidgetHeatmapDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs and PowerpackWidgetHeatmapDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStyleInput` via: // -// PowerpackWidgetHostmapDefinitionRequestArgs{...} -type PowerpackWidgetHostmapDefinitionRequestInput interface { +// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} +type PowerpackWidgetHeatmapDefinitionRequestStyleInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput - ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestOutput + ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput + ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput } -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 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 (PowerpackWidgetHostmapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput) +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput).ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx) +func (i PowerpackWidgetHeatmapDefinitionRequestStyleArgs) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput).ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs, PowerpackWidgetHostmapDefinitionRequestPtr and PowerpackWidgetHostmapDefinitionRequestPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestPtrInput` via: +// PowerpackWidgetHeatmapDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionRequestStyleArgs, PowerpackWidgetHeatmapDefinitionRequestStylePtr and PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionRequestStylePtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestArgs{...} +// PowerpackWidgetHeatmapDefinitionRequestStyleArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestPtrInput interface { +type PowerpackWidgetHeatmapDefinitionRequestStylePtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput + ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput } -type powerpackWidgetHostmapDefinitionRequestPtrType PowerpackWidgetHostmapDefinitionRequestArgs +type powerpackWidgetHeatmapDefinitionRequestStylePtrType PowerpackWidgetHeatmapDefinitionRequestStyleArgs -func PowerpackWidgetHostmapDefinitionRequestPtr(v *PowerpackWidgetHostmapDefinitionRequestArgs) PowerpackWidgetHostmapDefinitionRequestPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestPtrType)(v) +func PowerpackWidgetHeatmapDefinitionRequestStylePtr(v *PowerpackWidgetHeatmapDefinitionRequestStyleArgs) PowerpackWidgetHeatmapDefinitionRequestStylePtrInput { + return (*powerpackWidgetHeatmapDefinitionRequestStylePtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (*powerpackWidgetHeatmapDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) +func (i *powerpackWidgetHeatmapDefinitionRequestStylePtrType) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutput() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequest) *PowerpackWidgetHostmapDefinitionRequest { +func (o PowerpackWidgetHeatmapDefinitionRequestStyleOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionRequestStyle) *PowerpackWidgetHeatmapDefinitionRequestStyle { return &v - }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) -} - -// 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) + }).(PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) } -// 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) +// 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 PowerpackWidgetHostmapDefinitionRequestPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutput() PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) ToPowerpackWidgetHeatmapDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) PowerpackWidgetHostmapDefinitionRequest { +func (o PowerpackWidgetHeatmapDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetHeatmapDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionRequestStyle) PowerpackWidgetHeatmapDefinitionRequestStyle { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequest + var ret PowerpackWidgetHeatmapDefinitionRequestStyle return ret - }).(PowerpackWidgetHostmapDefinitionRequestOutput) -} - -// 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.Fills - }).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) + }).(PowerpackWidgetHeatmapDefinitionRequestStyleOutput) } -// 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 { +// 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.Sizes - }).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) + return v.Palette + }).(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"` +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"` } -// PowerpackWidgetHostmapDefinitionRequestFillInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArgs and PowerpackWidgetHostmapDefinitionRequestFillOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillInput` via: +// PowerpackWidgetHeatmapDefinitionYaxisInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs and PowerpackWidgetHeatmapDefinitionYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillInput interface { +// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} +type PowerpackWidgetHeatmapDefinitionYaxisInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput - ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput + ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput + ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput } -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"` +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 (PowerpackWidgetHostmapDefinitionRequestFillArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +func (PowerpackWidgetHeatmapDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Background()) +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { + return i.ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillOutput) +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArray and PowerpackWidgetHostmapDefinitionRequestFillArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillArrayInput` via: +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHeatmapDefinitionYaxisArgs) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisOutput).ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHeatmapDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetHeatmapDefinitionYaxisArgs, PowerpackWidgetHeatmapDefinitionYaxisPtr and PowerpackWidgetHeatmapDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHeatmapDefinitionYaxisPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillArray{ PowerpackWidgetHostmapDefinitionRequestFillArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillArrayInput interface { +// PowerpackWidgetHeatmapDefinitionYaxisArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHeatmapDefinitionYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput + ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput + ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestFillArray []PowerpackWidgetHostmapDefinitionRequestFillInput +type powerpackWidgetHeatmapDefinitionYaxisPtrType PowerpackWidgetHeatmapDefinitionYaxisArgs -func (PowerpackWidgetHostmapDefinitionRequestFillArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +func PowerpackWidgetHeatmapDefinitionYaxisPtr(v *PowerpackWidgetHeatmapDefinitionYaxisArgs) PowerpackWidgetHeatmapDefinitionYaxisPtrInput { + return (*powerpackWidgetHeatmapDefinitionYaxisPtrType)(v) } -func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHeatmapDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) +func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +func (i *powerpackWidgetHeatmapDefinitionYaxisPtrType) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { +type PowerpackWidgetHeatmapDefinitionYaxisOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() +} + +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutput() PowerpackWidgetHeatmapDefinitionYaxisOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisOutput { 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) +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return o.ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { - return v.LogQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) +func (o PowerpackWidgetHeatmapDefinitionYaxisOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHeatmapDefinitionYaxis) *PowerpackWidgetHeatmapDefinitionYaxis { + return &v + }).(PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) } -// 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) +// 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 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 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) } -// The query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { - return v.RumQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) +// 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 query to use for this widget. -func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) +// 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) } -type PowerpackWidgetHostmapDefinitionRequestFillArrayOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() +type PowerpackWidgetHeatmapDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHeatmapDefinitionYaxis)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutput() PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { +func (o PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) ToPowerpackWidgetHeatmapDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetHeatmapDefinitionYaxisPtrOutput { 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 PowerpackWidgetHeatmapDefinitionYaxisPtrOutput) Elem() PowerpackWidgetHeatmapDefinitionYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetHeatmapDefinitionYaxis) PowerpackWidgetHeatmapDefinitionYaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetHeatmapDefinitionYaxis + return ret + }).(PowerpackWidgetHeatmapDefinitionYaxisOutput) } -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"` +// 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.IncludeZero + }).(pulumi.BoolPtrOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput` via: +// 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) +} + +// 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.Max + }).(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 { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) +} + +// 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) +} + +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: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput interface { +// PowerpackWidgetHostmapDefinitionArgs{...} +type PowerpackWidgetHostmapDefinitionInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput + ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput + ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionOutput } -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 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 (PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { + return i.ToPowerpackWidgetHostmapDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionArgs) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionOutput).ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionArgs, PowerpackWidgetHostmapDefinitionPtr and PowerpackWidgetHostmapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} +// PowerpackWidgetHostmapDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs +type powerpackWidgetHostmapDefinitionPtrType PowerpackWidgetHostmapDefinitionArgs -func PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionPtr(v *PowerpackWidgetHostmapDefinitionArgs) PowerpackWidgetHostmapDefinitionPtrInput { + return (*powerpackWidgetHostmapDefinitionPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionPtrType) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinition)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutput() PowerpackWidgetHostmapDefinitionOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { +func (o PowerpackWidgetHostmapDefinitionOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinition) *PowerpackWidgetHostmapDefinition { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionPtrOutput) } -// `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) +// 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) } -// 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) +// 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) } -// 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) +// 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) } -// `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) +// 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 search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// 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) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { +// 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) +} + +// The title of the widget. +func (o PowerpackWidgetHostmapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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 PowerpackWidgetHostmapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutput() PowerpackWidgetHostmapDefinitionPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionPtrOutput) ToPowerpackWidgetHostmapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQuery { +func (o PowerpackWidgetHostmapDefinitionPtrOutput) Elem() PowerpackWidgetHostmapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinition) PowerpackWidgetHostmapDefinition { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillApmQuery + var ret PowerpackWidgetHostmapDefinition return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) + }).(PowerpackWidgetHostmapDefinitionOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { +// 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.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) + return v.Groups + }).(pulumi.StringArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { +// 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.Index - }).(pulumi.StringPtrOutput) + return v.NoGroupHosts + }).(pulumi.BoolPtrOutput) } -// `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 { +// 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.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) + return v.NoMetricHosts + }).(pulumi.BoolPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { +// 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.SearchQuery + return v.NodeType }).(pulumi.StringPtrOutput) } -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"` +// 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) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput +// 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) } -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"` +// 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.Style + }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +// 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.Title + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Background()) +// 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.TitleAlign + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) +// 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.TitleSize + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) +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"` } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetHostmapDefinitionCustomLinkArgs and PowerpackWidgetHostmapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionCustomLinkInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput interface { +// PowerpackWidgetHostmapDefinitionCustomLinkArgs{...} +type PowerpackWidgetHostmapDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput + ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput } -type powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs +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 PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType)(v) +func (PowerpackWidgetHostmapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() } -func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionCustomLinkArgs) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkOutput) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) +// 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 } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionCustomLinkArray []PowerpackWidgetHostmapDefinitionCustomLinkInput -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return o +func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { +func (i PowerpackWidgetHostmapDefinitionCustomLinkArray) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) +} + +type PowerpackWidgetHostmapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutput() PowerpackWidgetHostmapDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionCustomLinkOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkOutput { + return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// 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 PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *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) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutput() PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetHostmapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) +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 method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(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 facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} +// 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 -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *int { - if v == nil { - return nil - } - return v.Interval - }).(pulumi.IntPtrOutput) + ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput + ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestOutput } -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"` +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"` } -// 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 +func (PowerpackWidgetHostmapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -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"` +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(context.Background()) } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestArgs) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestOutput).ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestArgs, PowerpackWidgetHostmapDefinitionRequestPtr and PowerpackWidgetHostmapDefinitionRequestPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput +type powerpackWidgetHostmapDefinitionRequestPtrType PowerpackWidgetHostmapDefinitionRequestArgs -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +func PowerpackWidgetHostmapDefinitionRequestPtr(v *PowerpackWidgetHostmapDefinitionRequestArgs) PowerpackWidgetHostmapDefinitionRequestPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestPtrType)(v) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHostmapDefinitionRequestPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) +func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHostmapDefinitionRequestPtrType) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutput() PowerpackWidgetHostmapDefinitionRequestOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestOutput { return o } -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetHostmapDefinitionRequestOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequest) *PowerpackWidgetHostmapDefinitionRequest { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutput() PowerpackWidgetHostmapDefinitionRequestPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestPtrOutput { return o } -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 (o PowerpackWidgetHostmapDefinitionRequestPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequest) PowerpackWidgetHostmapDefinitionRequest { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionRequest + return ret + }).(PowerpackWidgetHostmapDefinitionRequestOutput) } -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"` +// 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.Fills + }).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) } -// 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 - - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput +// 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.Sizes + }).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) } -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"` +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"` } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +// 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 } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(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 PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) +func (PowerpackWidgetHostmapDefinitionRequestFillArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillArgs) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestFillArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillArray and PowerpackWidgetHostmapDefinitionRequestFillArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillArrayInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillArray{ PowerpackWidgetHostmapDefinitionRequestFillArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput } -type powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestFillArray []PowerpackWidgetHostmapDefinitionRequestFillInput -func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillArray) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutput() PowerpackWidgetHostmapDefinitionRequestFillOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ToPowerpackWidgetHostmapDefinitionRequestFillOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) ApmQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { + return v.ApmQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { + return v.LogQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(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 facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { return v.Facet }).(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) } -// 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) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { + return v.RumQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestFillOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFill) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestFillArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFill)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) +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) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Order - }).(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"` -} - -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput -} - -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"` -} - -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) -} - -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput -} - -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput - -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -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 PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { - 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) -} - -type PowerpackWidgetHostmapDefinitionRequestFillLogQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy `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 []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput `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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) } // 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) +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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillLogQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillApmQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { if v == nil { return nil } @@ -16378,18 +16497,18 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Index() pu } // `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 { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQuery) *string { if v == nil { return nil } @@ -16397,7 +16516,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) SearchQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -16406,18 +16525,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -16426,125 +16545,125 @@ type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) 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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { if v == nil { return nil } @@ -16553,8 +16672,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *string { if v == nil { return nil } @@ -16563,8 +16682,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryComputeQuery) *int { if v == nil { return nil } @@ -16572,124 +16691,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy 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 *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs 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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupByArrayOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -16698,18 +16817,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -16718,127 +16837,127 @@ type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs str Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) 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) +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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) 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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -16847,8 +16966,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOu } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -16857,8 +16976,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOu } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -16866,7 +16985,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -16875,18 +16994,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -16895,526 +17014,332 @@ type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput { 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 PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillApmQueryMultiComputeArrayOutput { 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 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 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"` +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"` } -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput } -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 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"` } -func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// `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 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) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) } -// 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 index to query. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// `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) } -type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillProcessQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillLogQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { if v == nil { return nil } - return v.FilterBies - }).(pulumi.StringArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *int { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { if v == nil { return nil } - return &v.Metric + return &v.Index }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *string { +// `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 { if v == nil { return nil } - return v.SearchBy + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery }).(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 PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery 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"` } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput -} - -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"` + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput -} - -type powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType)(v) -} - -func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() -} - -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) -} - -// `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) -} - -// 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 name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) string { return v.Index }).(pulumi.StringOutput) -} - -// `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 search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestFillRumQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) -} - -// `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.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) -} - -// 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.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) -} - -// 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.Index - }).(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 { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) -} - -// 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.SearchQuery - }).(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"` -} - -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput -} - -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -17423,125 +17348,125 @@ type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) 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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { if v == nil { return nil } @@ -17550,8 +17475,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *string { if v == nil { return nil } @@ -17560,8 +17485,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryComputeQuery) *int { if v == nil { return nil } @@ -17569,124 +17494,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy 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 *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs 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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupByArrayOutput { return o } -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) +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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -17695,18 +17620,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -17715,127 +17640,127 @@ type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs str Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) 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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -17844,8 +17769,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOu } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -17854,8 +17779,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOu } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -17863,7 +17788,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -17872,18 +17797,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: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -17892,461 +17817,653 @@ type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) 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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillLogQueryMultiComputeArrayOutput { 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 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 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"` +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"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput } -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"` +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 (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) -} - -// `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) + }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) } -// 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) +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// 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) +// 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) } -// `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) +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) PowerpackWidgetHostmapDefinitionRequestFillProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillProcessQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillProcessQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) []string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { +// 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.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestFillProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillProcessQuery) *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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { - if v == nil { - return nil - } - return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) -} - -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *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.SearchQuery + return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery 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 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"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs 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 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 (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// `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 facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { return v.Facet }).(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) } -// Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// `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) +} -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillRumQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryOutput) +} + +// `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.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) +} + +// 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.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) +} + +// 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.Index + }).(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 { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) +} + +// 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.SearchQuery + }).(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"` +} + +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput +} + +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 (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +} + +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) +} + +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: +// +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput +} + +type powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs + +func PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType)(v) +} + +func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { +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 } @@ -18355,8 +18472,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrO } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *string { if v == nil { return nil } @@ -18365,8 +18482,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrO } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryComputeQuery) *int { if v == nil { return nil } @@ -18374,124 +18491,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrO }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy struct { +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 *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs struct { +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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupByArrayOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -18500,18 +18617,18 @@ type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery st Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -18520,131 +18637,127 @@ type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArg Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) 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) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *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) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -18653,8 +18766,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -18663,8 +18776,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -18672,7 +18785,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -18681,18 +18794,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: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -18701,438 +18814,284 @@ type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs st Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) -} +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) 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 PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *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) -} - -type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { - 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) -} - -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 PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { - 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 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) +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillRumQueryMultiComputeArrayOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestSizeApmQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) } // 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) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) string { return v.Index }).(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 { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { if v == nil { return nil } @@ -19141,18 +19100,18 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Index() pu } // `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 { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQuery) *string { if v == nil { return nil } @@ -19160,7 +19119,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) SearchQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -19169,18 +19128,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: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -19189,125 +19148,127 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) 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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -19316,8 +19277,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -19326,8 +19287,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryComputeQuery) *int { if v == nil { return nil } @@ -19335,124 +19296,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy struct { +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 *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs struct { +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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupByArrayOutput { return o } -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) +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) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -19461,18 +19422,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -19481,127 +19442,131 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs str Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -19610,8 +19575,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOu } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -19620,8 +19585,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOu } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -19629,7 +19594,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -19638,18 +19603,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -19658,284 +19623,438 @@ type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) *string { return v.Facet }).(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) +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestFillSecurityQueryMultiComputeArrayOutput { 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 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 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 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"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeArgs and PowerpackWidgetHostmapDefinitionRequestSizeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeInput 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() + ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) +func (PowerpackWidgetHostmapDefinitionRequestSizeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestSizeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeArray and PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeArrayInput` via: // -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeArray{ PowerpackWidgetHostmapDefinitionRequestSizeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput } -type powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestSizeArray []PowerpackWidgetHostmapDefinitionRequestSizeInput -func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutput() PowerpackWidgetHostmapDefinitionRequestSizeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) ApmQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { + return v.ApmQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { - return &v +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) LogQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { + return v.LogQuery }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) } -// `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) -} - -// 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) +// 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 name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) string { return v.Index }).(pulumi.StringOutput) +// 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) } -// `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) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) RumQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { + return v.RumQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) } -// The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetHostmapDefinitionRequestSizeOutput) SecurityQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSize) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSize)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQuery - return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) -} - -// `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) +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) } -// 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 - } +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"` +} + +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryInput 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"` +} + +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput +} + +type powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs + +func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType)(v) +} + +func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { + 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 - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { +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 PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQuery + 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) +} + +// The name of the index to query. +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { if v == nil { return nil } @@ -19944,18 +20063,18 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Index() pu } // `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 { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQuery) *string { if v == nil { return nil } @@ -19963,7 +20082,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) SearchQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -19972,18 +20091,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -19992,125 +20111,125 @@ type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) 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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { if v == nil { return nil } @@ -20119,8 +20238,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *string { if v == nil { return nil } @@ -20129,8 +20248,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryComputeQuery) *int { if v == nil { return nil } @@ -20138,124 +20257,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy 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 *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs 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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupByArrayOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -20264,18 +20383,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -20284,127 +20403,127 @@ type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs str Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) 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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -20413,8 +20532,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOu } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -20423,8 +20542,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOu } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -20432,7 +20551,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -20441,18 +20560,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -20461,653 +20580,459 @@ type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) 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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeApmQueryMultiComputeArrayOutput { return o } -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 (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 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"` +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"` } -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput } -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 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 (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// `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) } -// 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) +// 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) } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// 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) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// `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) } -type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryOutput) } -// A list of processes. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { +// `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.FilterBies - }).(pulumi.StringArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) } -// Your chosen metric. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { +// 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.Metric + return &v.Index }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { +// `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.SearchBy + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) +} + +// 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) } -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"` +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"` } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput } -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 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"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) } -// `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 aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// `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) +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery)(nil)).Elem() } -// 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"` -} - -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput -} - -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"` -} - -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx) -} - -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput -} - -type powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs - -func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType)(v) -} - -func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() -} - -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return o -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { - return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) -} - -// The facet name. -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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() -} - -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { if v == nil { return nil } @@ -21116,8 +21041,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *string { if v == nil { return nil } @@ -21126,8 +21051,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryComputeQuery) *int { if v == nil { return nil } @@ -21135,124 +21060,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy 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 *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs 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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupByArrayOutput { 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) +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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -21261,18 +21186,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -21281,127 +21206,127 @@ type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs str Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) 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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -21410,8 +21335,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOu } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -21420,8 +21345,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOu } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -21429,7 +21354,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOu }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -21438,18 +21363,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -21458,284 +21383,478 @@ type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput { 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 PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeLogQueryMultiComputeArrayOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery struct { +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"` +} + +// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput +} + +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 (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx) +} + +// 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 + + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput +} + +type powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs + +func PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType)(v) +} + +func (*powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +} + +func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery { + return &v + }).(PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) +} + +// A list of processes. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +} + +// 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) +} + +// Your chosen metric. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// Your chosen search term. +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeProcessQueryPtrOutput { + 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +type PowerpackWidgetHostmapDefinitionRequestSizeRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) } // 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 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) ComputeQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) GroupBies() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { if v == nil { return nil } @@ -21744,18 +21863,18 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Index } // `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 { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) MultiComputes() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQuery) *string { if v == nil { return nil } @@ -21763,7 +21882,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Searc }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -21772,18 +21891,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery struct Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -21792,127 +21911,125 @@ type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs st Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { if v == nil { return nil } @@ -21921,8 +22038,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrO } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *string { if v == nil { return nil } @@ -21931,8 +22048,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrO } // Define the time interval in seconds. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryComputeQuery) *int { if v == nil { return nil } @@ -21940,124 +22057,124 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrO }).(pulumi.IntPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy 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 *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByInput -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByOutput) SortQuery() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupByArrayOutput { 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 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -22066,18 +22183,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery st Order string `pulumi:"order"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -22086,131 +22203,127 @@ type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArg Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs +type powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs -func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) 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 - }).(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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery + var ret PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -22219,8 +22332,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery } // The facet name. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -22229,8 +22342,8 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -22238,7 +22351,7 @@ func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -22247,18 +22360,18 @@ type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute struct Interval *int `pulumi:"interval"` } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -22267,2479 +22380,2197 @@ type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs st Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) } -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeInput -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeRumQueryMultiComputeArrayOutput { 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) +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 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 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"` } -// PowerpackWidgetHostmapDefinitionStyleInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs and PowerpackWidgetHostmapDefinitionStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStyleInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput` via: // -// PowerpackWidgetHostmapDefinitionStyleArgs{...} -type PowerpackWidgetHostmapDefinitionStyleInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput - ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStyleOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput } -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 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 (PowerpackWidgetHostmapDefinitionStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { - return i.ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput).ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetHostmapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs, PowerpackWidgetHostmapDefinitionStylePtr and PowerpackWidgetHostmapDefinitionStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStylePtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput` via: // -// PowerpackWidgetHostmapDefinitionStyleArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetHostmapDefinitionStylePtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput - ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput } -type powerpackWidgetHostmapDefinitionStylePtrType PowerpackWidgetHostmapDefinitionStyleArgs +type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs -func PowerpackWidgetHostmapDefinitionStylePtr(v *PowerpackWidgetHostmapDefinitionStyleArgs) PowerpackWidgetHostmapDefinitionStylePtrInput { - return (*powerpackWidgetHostmapDefinitionStylePtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType)(v) } -func (*powerpackWidgetHostmapDefinitionStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStylePtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) } -type PowerpackWidgetHostmapDefinitionStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetHostmapDefinitionStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { - return o.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionStyle) *PowerpackWidgetHostmapDefinitionStyle { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { return &v - }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) } -// 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) +// `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 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) +// 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) } -// 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) +// 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) } -// 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) +// `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) } -type PowerpackWidgetHostmapDefinitionStylePtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetHostmapDefinitionStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) Elem() PowerpackWidgetHostmapDefinitionStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) PowerpackWidgetHostmapDefinitionStyle { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetHostmapDefinitionStyle + var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQuery return ret - }).(PowerpackWidgetHostmapDefinitionStyleOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryOutput) } -// The max value to use to color the map. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) FillMax() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *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.FillMax - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) } -// The min value to use to color the map. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) FillMin() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *string { +// 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.FillMin - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) } -// 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 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.Palette + return &v.Index }).(pulumi.StringPtrOutput) } -// A Boolean indicating whether to flip the palette tones. -func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) PaletteFlip() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) *bool { +// `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.PaletteFlip - }).(pulumi.BoolPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetIframeDefinition struct { - // The URL to use as a data source for the widget. - Url string `pulumi:"url"` +// 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) } -// PowerpackWidgetIframeDefinitionInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs and PowerpackWidgetIframeDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionInput` via: +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: // -// PowerpackWidgetIframeDefinitionArgs{...} -type PowerpackWidgetIframeDefinitionInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput - ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput } -type PowerpackWidgetIframeDefinitionArgs struct { - // The URL to use as a data source for the widget. - Url pulumi.StringInput `pulumi:"url"` +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 (PowerpackWidgetIframeDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { - return i.ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { - return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput).ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetIframeDefinitionPtrInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs, PowerpackWidgetIframeDefinitionPtr and PowerpackWidgetIframeDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionPtrInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetIframeDefinitionArgs{...} +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetIframeDefinitionPtrInput interface { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput - ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetIframeDefinitionPtrType PowerpackWidgetIframeDefinitionArgs +type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs -func PowerpackWidgetIframeDefinitionPtr(v *PowerpackWidgetIframeDefinitionArgs) PowerpackWidgetIframeDefinitionPtrInput { - return (*powerpackWidgetIframeDefinitionPtrType)(v) +func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetIframeDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() +func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { - return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionPtrOutput) +func (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetIframeDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetIframeDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { - return o.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetIframeDefinition) *PowerpackWidgetIframeDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetIframeDefinitionPtrOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) } -// 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 method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -type PowerpackWidgetIframeDefinitionPtrOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetIframeDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetIframeDefinitionPtrOutput) Elem() PowerpackWidgetIframeDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetIframeDefinition) PowerpackWidgetIframeDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetIframeDefinition + var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery return ret - }).(PowerpackWidgetIframeDefinitionOutput) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryOutput) } -// 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 method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.Url + return &v.Aggregation }).(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 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) } -// PowerpackWidgetImageDefinitionInput is an input type that accepts PowerpackWidgetImageDefinitionArgs and PowerpackWidgetImageDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetImageDefinitionInput` via: -// -// PowerpackWidgetImageDefinitionArgs{...} -type PowerpackWidgetImageDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput - ToPowerpackWidgetImageDefinitionOutputWithContext(context.Context) PowerpackWidgetImageDefinitionOutput +// 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) } -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 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"` } -func (PowerpackWidgetImageDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { - return i.ToPowerpackWidgetImageDefinitionOutputWithContext(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 PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput) +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput).ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) } -// PowerpackWidgetImageDefinitionPtrInput is an input type that accepts PowerpackWidgetImageDefinitionArgs, PowerpackWidgetImageDefinitionPtr and PowerpackWidgetImageDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetImageDefinitionPtrInput` via: -// -// PowerpackWidgetImageDefinitionArgs{...} -// -// or: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetImageDefinitionPtrInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput - ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetImageDefinitionPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput } -type powerpackWidgetImageDefinitionPtrType PowerpackWidgetImageDefinitionArgs - -func PowerpackWidgetImageDefinitionPtr(v *PowerpackWidgetImageDefinitionArgs) PowerpackWidgetImageDefinitionPtrInput { - return (*powerpackWidgetImageDefinitionPtrType)(v) -} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByInput -func (*powerpackWidgetImageDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionPtrOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetImageDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetImageDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return o.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetImageDefinition) *PowerpackWidgetImageDefinition { - return &v - }).(PowerpackWidgetImageDefinitionPtrOutput) +// 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) } -// 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) +// 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) } -// 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) +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)(nil)).Elem() } -// 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) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return o } -// 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 (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput { + return o } -// 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 PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupByOutput) } -// 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) +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"` } -// 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) +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput } -// 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 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"` } -type PowerpackWidgetImageDefinitionPtrOutput struct{ *pulumi.OutputState } +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() +} -func (PowerpackWidgetImageDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { - return o +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) } -func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { - return o +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetImageDefinitionPtrOutput) Elem() PowerpackWidgetImageDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetImageDefinition) PowerpackWidgetImageDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetImageDefinition - return ret - }).(PowerpackWidgetImageDefinitionOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// 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) +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs, PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput } -// 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) +type powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs + +func PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryArgs) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType)(v) } -// 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) +func (*powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -// 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 (i *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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 *powerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) } -// 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) -} - -// 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) -} - -// 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) -} - -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"` -} - -// 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 - - ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput - ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionOutput -} - -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 (PowerpackWidgetListStreamDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() -} - -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { - return i.ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput) -} - -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput).ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx) -} - -// 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 -} - -type powerpackWidgetListStreamDefinitionPtrType PowerpackWidgetListStreamDefinitionArgs - -func PowerpackWidgetListStreamDefinitionPtr(v *PowerpackWidgetListStreamDefinitionArgs) PowerpackWidgetListStreamDefinitionPtrInput { - return (*powerpackWidgetListStreamDefinitionPtrType)(v) -} - -func (*powerpackWidgetListStreamDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() -} - -func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionPtrOutput) -} - -type PowerpackWidgetListStreamDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { - return o.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinition) *PowerpackWidgetListStreamDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetListStreamDefinitionPtrOutput) -} - -// 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) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetListStreamDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(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) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(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) +// 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 PowerpackWidgetListStreamDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionPtrOutput) Elem() PowerpackWidgetListStreamDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) PowerpackWidgetListStreamDefinition { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetListStreamDefinition + var ret PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetListStreamDefinitionOutput) -} - -// 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) + }).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetListStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *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 PowerpackWidgetListStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) *string { +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.TitleAlign + return v.Facet }).(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 { +// 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.TitleSize + return &v.Order }).(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"` +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"` } -// PowerpackWidgetListStreamDefinitionRequestInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArgs and PowerpackWidgetListStreamDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetListStreamDefinitionRequestArgs{...} -type PowerpackWidgetListStreamDefinitionRequestInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput - ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput } -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 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 (PowerpackWidgetListStreamDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) } -// PowerpackWidgetListStreamDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArray and PowerpackWidgetListStreamDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestArrayInput` via: +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray and PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetListStreamDefinitionRequestArray{ PowerpackWidgetListStreamDefinitionRequestArgs{...} } -type PowerpackWidgetListStreamDefinitionRequestArrayInput interface { +// PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray{ PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput - ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetListStreamDefinitionRequestArray []PowerpackWidgetListStreamDefinitionRequestInput +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray []PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeInput -func (PowerpackWidgetListStreamDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) +func (i PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArray) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetListStreamDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput { return o } -// Widget columns. -func (o PowerpackWidgetListStreamDefinitionRequestOutput) Columns() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) []PowerpackWidgetListStreamDefinitionRequestColumn { - return v.Columns - }).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) +// The aggregation method. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// Updated list stream widget. -func (o PowerpackWidgetListStreamDefinitionRequestOutput) Query() PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) PowerpackWidgetListStreamDefinitionRequestQuery { - return v.Query - }).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) +// The facet name. +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute) *string { return v.Facet }).(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) +// 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 PowerpackWidgetListStreamDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput() PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { +func (o PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionRequestSizeSecurityQueryMultiComputeArrayOutput { return o } -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 (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 PowerpackWidgetListStreamDefinitionRequestColumn struct { - // Widget column field. - Field string `pulumi:"field"` - // Widget column width. Valid values are `auto`, `compact`, `full`. - Width string `pulumi:"width"` +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"` } -// PowerpackWidgetListStreamDefinitionRequestColumnInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestColumnArgs and PowerpackWidgetListStreamDefinitionRequestColumnOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestColumnInput` via: +// PowerpackWidgetHostmapDefinitionStyleInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs and PowerpackWidgetHostmapDefinitionStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStyleInput` via: // -// PowerpackWidgetListStreamDefinitionRequestColumnArgs{...} -type PowerpackWidgetListStreamDefinitionRequestColumnInput interface { +// PowerpackWidgetHostmapDefinitionStyleArgs{...} +type PowerpackWidgetHostmapDefinitionStyleInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput - ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput + ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput + ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStyleOutput } -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"` +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"` } -func (PowerpackWidgetListStreamDefinitionRequestColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +func (PowerpackWidgetHostmapDefinitionStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Background()) +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { + return i.ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnOutput) +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput) } -// PowerpackWidgetListStreamDefinitionRequestColumnArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestColumnArray and PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestColumnArrayInput` via: +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetHostmapDefinitionStyleArgs) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStyleOutput).ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetHostmapDefinitionStylePtrInput is an input type that accepts PowerpackWidgetHostmapDefinitionStyleArgs, PowerpackWidgetHostmapDefinitionStylePtr and PowerpackWidgetHostmapDefinitionStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetHostmapDefinitionStylePtrInput` via: // -// PowerpackWidgetListStreamDefinitionRequestColumnArray{ PowerpackWidgetListStreamDefinitionRequestColumnArgs{...} } -type PowerpackWidgetListStreamDefinitionRequestColumnArrayInput interface { +// PowerpackWidgetHostmapDefinitionStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetHostmapDefinitionStylePtrInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput - ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput + ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput + ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput } -type PowerpackWidgetListStreamDefinitionRequestColumnArray []PowerpackWidgetListStreamDefinitionRequestColumnInput +type powerpackWidgetHostmapDefinitionStylePtrType PowerpackWidgetHostmapDefinitionStyleArgs -func (PowerpackWidgetListStreamDefinitionRequestColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +func PowerpackWidgetHostmapDefinitionStylePtr(v *PowerpackWidgetHostmapDefinitionStyleArgs) PowerpackWidgetHostmapDefinitionStylePtrInput { + return (*powerpackWidgetHostmapDefinitionStylePtrType)(v) } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Background()) +func (*powerpackWidgetHostmapDefinitionStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) +func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return i.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetListStreamDefinitionRequestColumnOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetHostmapDefinitionStylePtrType) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetHostmapDefinitionStylePtrOutput) +} -func (PowerpackWidgetListStreamDefinitionRequestColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +type PowerpackWidgetHostmapDefinitionStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutput() PowerpackWidgetHostmapDefinitionStyleOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStyleOutput { return o } -// Widget column field. -func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) Field() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestColumn) string { return v.Field }).(pulumi.StringOutput) +func (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o.ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(context.Background()) } -// 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 (o PowerpackWidgetHostmapDefinitionStyleOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetHostmapDefinitionStyle) *PowerpackWidgetHostmapDefinitionStyle { + return &v + }).(PowerpackWidgetHostmapDefinitionStylePtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() +// 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) } -func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - 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 PowerpackWidgetHostmapDefinitionStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetHostmapDefinitionStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { - return o +// 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) } -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) +type PowerpackWidgetHostmapDefinitionStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetHostmapDefinitionStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetHostmapDefinitionStyle)(nil)).Elem() } -type PowerpackWidgetListStreamDefinitionRequestQuery struct { - // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. - 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 PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutput() PowerpackWidgetHostmapDefinitionStylePtrOutput { + return o } -// 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 - - ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput - ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput -} - -type PowerpackWidgetListStreamDefinitionRequestQueryArgs struct { - // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. - 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 (PowerpackWidgetListStreamDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) -} - -type PowerpackWidgetListStreamDefinitionRequestQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetListStreamDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() -} - -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { - return o -} - -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { +func (o PowerpackWidgetHostmapDefinitionStylePtrOutput) ToPowerpackWidgetHostmapDefinitionStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetHostmapDefinitionStylePtrOutput { return o } -// Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// 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 PowerpackWidgetHostmapDefinitionStylePtrOutput) Elem() PowerpackWidgetHostmapDefinitionStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetHostmapDefinitionStyle) PowerpackWidgetHostmapDefinitionStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetHostmapDefinitionStyle + return ret + }).(PowerpackWidgetHostmapDefinitionStyleOutput) } -// List of indexes. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +// 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) } -// Widget query. -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) QueryString() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.QueryString }).(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) } -// 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) +// 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.Palette + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.Storage }).(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 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 PowerpackWidgetIframeDefinition struct { + // The URL to use as a data source for the widget. + Url string `pulumi:"url"` } -// PowerpackWidgetListStreamDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs and PowerpackWidgetListStreamDefinitionRequestQuerySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortInput` via: +// PowerpackWidgetIframeDefinitionInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs and PowerpackWidgetIframeDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionInput` via: // -// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} -type PowerpackWidgetListStreamDefinitionRequestQuerySortInput interface { +// PowerpackWidgetIframeDefinitionArgs{...} +type PowerpackWidgetIframeDefinitionInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput - ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput + ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput + ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionOutput } -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 PowerpackWidgetIframeDefinitionArgs struct { + // The URL to use as a data source for the widget. + Url pulumi.StringInput `pulumi:"url"` } -func (PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetIframeDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Background()) +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { + return i.ToPowerpackWidgetIframeDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput) } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { + return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput).ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetIframeDefinitionArgs) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionOutput).ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs, PowerpackWidgetListStreamDefinitionRequestQuerySortPtr and PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput` via: +// PowerpackWidgetIframeDefinitionPtrInput is an input type that accepts PowerpackWidgetIframeDefinitionArgs, PowerpackWidgetIframeDefinitionPtr and PowerpackWidgetIframeDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetIframeDefinitionPtrInput` via: // -// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} +// PowerpackWidgetIframeDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput interface { +type PowerpackWidgetIframeDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput - ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput + ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetIframeDefinitionPtrOutput } -type powerpackWidgetListStreamDefinitionRequestQuerySortPtrType PowerpackWidgetListStreamDefinitionRequestQuerySortArgs +type powerpackWidgetIframeDefinitionPtrType PowerpackWidgetIframeDefinitionArgs -func PowerpackWidgetListStreamDefinitionRequestQuerySortPtr(v *PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput { - return (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType)(v) +func PowerpackWidgetIframeDefinitionPtr(v *PowerpackWidgetIframeDefinitionArgs) PowerpackWidgetIframeDefinitionPtrInput { + return (*powerpackWidgetIframeDefinitionPtrType)(v) } -func (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (*powerpackWidgetIframeDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { + return i.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) +func (i *powerpackWidgetIframeDefinitionPtrType) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetIframeDefinitionPtrOutput) } -type PowerpackWidgetListStreamDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetIframeDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetIframeDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutput() PowerpackWidgetIframeDefinitionOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return o.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { + return o.ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinitionRequestQuerySort) *PowerpackWidgetListStreamDefinitionRequestQuerySort { +func (o PowerpackWidgetIframeDefinitionOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetIframeDefinition) *PowerpackWidgetIframeDefinition { return &v - }).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) -} - -// The facet path for the column. -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) + }).(PowerpackWidgetIframeDefinitionPtrOutput) } -// 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 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 PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetIframeDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetIframeDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetIframeDefinition)(nil)).Elem() } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { +func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutput() PowerpackWidgetIframeDefinitionPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { +func (o PowerpackWidgetIframeDefinitionPtrOutput) ToPowerpackWidgetIframeDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetIframeDefinitionPtrOutput { return o } -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) PowerpackWidgetListStreamDefinitionRequestQuerySort { +func (o PowerpackWidgetIframeDefinitionPtrOutput) Elem() PowerpackWidgetIframeDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetIframeDefinition) PowerpackWidgetIframeDefinition { if v != nil { return *v } - var ret PowerpackWidgetListStreamDefinitionRequestQuerySort + var ret PowerpackWidgetIframeDefinition return ret - }).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) -} - -// 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.Column - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetIframeDefinitionOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *string { +// 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.Order + return &v.Url }).(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"` +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"` } -// PowerpackWidgetLogStreamDefinitionInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs and PowerpackWidgetLogStreamDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionInput` via: +// PowerpackWidgetImageDefinitionInput is an input type that accepts PowerpackWidgetImageDefinitionArgs and PowerpackWidgetImageDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetImageDefinitionInput` via: // -// PowerpackWidgetLogStreamDefinitionArgs{...} -type PowerpackWidgetLogStreamDefinitionInput interface { +// PowerpackWidgetImageDefinitionArgs{...} +type PowerpackWidgetImageDefinitionInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput - ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionOutput + ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput + ToPowerpackWidgetImageDefinitionOutputWithContext(context.Context) PowerpackWidgetImageDefinitionOutput } -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 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 (PowerpackWidgetLogStreamDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (PowerpackWidgetImageDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { - return i.ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { + return i.ToPowerpackWidgetImageDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput) +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput) } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { + return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput).ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetImageDefinitionArgs) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionOutput).ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetLogStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs, PowerpackWidgetLogStreamDefinitionPtr and PowerpackWidgetLogStreamDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionPtrInput` via: +// PowerpackWidgetImageDefinitionPtrInput is an input type that accepts PowerpackWidgetImageDefinitionArgs, PowerpackWidgetImageDefinitionPtr and PowerpackWidgetImageDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetImageDefinitionPtrInput` via: // -// PowerpackWidgetLogStreamDefinitionArgs{...} +// PowerpackWidgetImageDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetLogStreamDefinitionPtrInput interface { +type PowerpackWidgetImageDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput - ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput + ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput + ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetImageDefinitionPtrOutput } -type powerpackWidgetLogStreamDefinitionPtrType PowerpackWidgetLogStreamDefinitionArgs +type powerpackWidgetImageDefinitionPtrType PowerpackWidgetImageDefinitionArgs -func PowerpackWidgetLogStreamDefinitionPtr(v *PowerpackWidgetLogStreamDefinitionArgs) PowerpackWidgetLogStreamDefinitionPtrInput { - return (*powerpackWidgetLogStreamDefinitionPtrType)(v) +func PowerpackWidgetImageDefinitionPtr(v *PowerpackWidgetImageDefinitionArgs) PowerpackWidgetImageDefinitionPtrInput { + return (*powerpackWidgetImageDefinitionPtrType)(v) } -func (*powerpackWidgetLogStreamDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (*powerpackWidgetImageDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() } -func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { + return i.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionPtrOutput) +func (i *powerpackWidgetImageDefinitionPtrType) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetImageDefinitionPtrOutput) } -type PowerpackWidgetLogStreamDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetImageDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetLogStreamDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (PowerpackWidgetImageDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetImageDefinition)(nil)).Elem() } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutput() PowerpackWidgetImageDefinitionOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { - return o.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { + return o.ToPowerpackWidgetImageDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinition { +func (o PowerpackWidgetImageDefinitionOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetImageDefinition) *PowerpackWidgetImageDefinition { return &v - }).(PowerpackWidgetLogStreamDefinitionPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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) + }).(PowerpackWidgetImageDefinitionPtrOutput) } -// 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) +// 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 query to use in the widget. -func (o PowerpackWidgetLogStreamDefinitionOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.Query }).(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) } -// 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) +// 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) } -// 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 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 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 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 title of the widget. -func (o PowerpackWidgetLogStreamDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// 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 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 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 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) +// 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 PowerpackWidgetLogStreamDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetImageDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetLogStreamDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() +func (PowerpackWidgetImageDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetImageDefinition)(nil)).Elem() } -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { +func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutput() PowerpackWidgetImageDefinitionPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { +func (o PowerpackWidgetImageDefinitionPtrOutput) ToPowerpackWidgetImageDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetImageDefinitionPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) PowerpackWidgetLogStreamDefinition { +func (o PowerpackWidgetImageDefinitionPtrOutput) Elem() PowerpackWidgetImageDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetImageDefinition) PowerpackWidgetImageDefinition { if v != nil { return *v } - var ret PowerpackWidgetLogStreamDefinition + var ret PowerpackWidgetImageDefinition return ret - }).(PowerpackWidgetLogStreamDefinitionOutput) + }).(PowerpackWidgetImageDefinitionOutput) } -// Stringified list of columns to use, for example: `["column1","column2","column3"]`. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Columns() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) []string { +// 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.Columns - }).(pulumi.StringArrayOutput) + return v.HasBackground + }).(pulumi.BoolPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) []string { +// 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.Indexes - }).(pulumi.StringArrayOutput) + return v.HasBorder + }).(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 PowerpackWidgetLogStreamDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { +// 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.LiveSpan + return v.HorizontalAlign }).(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 { +// 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.MessageDisplay + return v.Margin }).(pulumi.StringPtrOutput) } -// The query to use in the widget. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { +// 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.Query + return v.Sizing }).(pulumi.StringPtrOutput) } -// 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) -} - -// 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) -} - -// 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) -} - -// The title of the widget. -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { +// 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.Title + return &v.Url }).(pulumi.StringPtrOutput) } -// 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 { +// 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.TitleAlign + return v.UrlDarkTheme }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { +// 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.TitleSize + return v.VerticalAlign }).(pulumi.StringPtrOutput) } -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"` +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"` } -// PowerpackWidgetLogStreamDefinitionSortInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs and PowerpackWidgetLogStreamDefinitionSortOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortInput` via: +// PowerpackWidgetListStreamDefinitionInput is an input type that accepts PowerpackWidgetListStreamDefinitionArgs and PowerpackWidgetListStreamDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionInput` via: // -// PowerpackWidgetLogStreamDefinitionSortArgs{...} -type PowerpackWidgetLogStreamDefinitionSortInput interface { +// PowerpackWidgetListStreamDefinitionArgs{...} +type PowerpackWidgetListStreamDefinitionInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput - ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortOutput + ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput + ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionOutput } -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 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 (PowerpackWidgetLogStreamDefinitionSortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { - return i.ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { + return i.ToPowerpackWidgetListStreamDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput) +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput) } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput).ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx) +func (i PowerpackWidgetListStreamDefinitionArgs) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionOutput).ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetLogStreamDefinitionSortPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs, PowerpackWidgetLogStreamDefinitionSortPtr and PowerpackWidgetLogStreamDefinitionSortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortPtrInput` via: +// PowerpackWidgetListStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionArgs, PowerpackWidgetListStreamDefinitionPtr and PowerpackWidgetListStreamDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionPtrInput` via: // -// PowerpackWidgetLogStreamDefinitionSortArgs{...} +// PowerpackWidgetListStreamDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetLogStreamDefinitionSortPtrInput interface { +type PowerpackWidgetListStreamDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput - ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput + ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput + ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionPtrOutput } -type powerpackWidgetLogStreamDefinitionSortPtrType PowerpackWidgetLogStreamDefinitionSortArgs +type powerpackWidgetListStreamDefinitionPtrType PowerpackWidgetListStreamDefinitionArgs -func PowerpackWidgetLogStreamDefinitionSortPtr(v *PowerpackWidgetLogStreamDefinitionSortArgs) PowerpackWidgetLogStreamDefinitionSortPtrInput { - return (*powerpackWidgetLogStreamDefinitionSortPtrType)(v) +func PowerpackWidgetListStreamDefinitionPtr(v *PowerpackWidgetListStreamDefinitionArgs) PowerpackWidgetListStreamDefinitionPtrInput { + return (*powerpackWidgetListStreamDefinitionPtrType)(v) } -func (*powerpackWidgetLogStreamDefinitionSortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +func (*powerpackWidgetListStreamDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() } -func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) +func (i *powerpackWidgetListStreamDefinitionPtrType) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionPtrOutput) } -type PowerpackWidgetLogStreamDefinitionSortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetLogStreamDefinitionSortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutput() PowerpackWidgetListStreamDefinitionOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return o.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { + return o.ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinitionSort) *PowerpackWidgetLogStreamDefinitionSort { +func (o PowerpackWidgetListStreamDefinitionOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinition) *PowerpackWidgetListStreamDefinition { return &v - }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) + }).(PowerpackWidgetListStreamDefinitionPtrOutput) } -// The facet path for the column. -func (o PowerpackWidgetLogStreamDefinitionSortOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetLogStreamDefinitionSort) string { return v.Column }).(pulumi.StringOutput) +// 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) } -// 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) +// The title of the widget. +func (o PowerpackWidgetListStreamDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -type PowerpackWidgetLogStreamDefinitionSortPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetLogStreamDefinitionSortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() +// 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) } -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { +type PowerpackWidgetListStreamDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetListStreamDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutput() PowerpackWidgetListStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { +func (o PowerpackWidgetListStreamDefinitionPtrOutput) ToPowerpackWidgetListStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionSortOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) PowerpackWidgetLogStreamDefinitionSort { +func (o PowerpackWidgetListStreamDefinitionPtrOutput) Elem() PowerpackWidgetListStreamDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinition) PowerpackWidgetListStreamDefinition { if v != nil { return *v } - var ret PowerpackWidgetLogStreamDefinitionSort + var ret PowerpackWidgetListStreamDefinition return ret - }).(PowerpackWidgetLogStreamDefinitionSortOutput) + }).(PowerpackWidgetListStreamDefinitionOutput) } -// The facet path for the column. -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Column() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { +// 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.Column - }).(pulumi.StringPtrOutput) + return v.Requests + }).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { +// 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.Order + return v.Title }).(pulumi.StringPtrOutput) } -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 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) } -// PowerpackWidgetManageStatusDefinitionInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs and PowerpackWidgetManageStatusDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionInput` via: -// -// PowerpackWidgetManageStatusDefinitionArgs{...} -type PowerpackWidgetManageStatusDefinitionInput interface { - pulumi.Input - - ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput - ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionOutput +// 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) } -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 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"` } -func (PowerpackWidgetManageStatusDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() +// 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 } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { - return i.ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Background()) +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"` } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput) +func (PowerpackWidgetListStreamDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput).ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetListStreamDefinitionRequestArgs) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestOutput) } -// PowerpackWidgetManageStatusDefinitionPtrInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs, PowerpackWidgetManageStatusDefinitionPtr and PowerpackWidgetManageStatusDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionPtrInput` via: -// -// PowerpackWidgetManageStatusDefinitionArgs{...} -// -// or: +// PowerpackWidgetListStreamDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestArray and PowerpackWidgetListStreamDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestArrayInput` via: // -// nil -type PowerpackWidgetManageStatusDefinitionPtrInput interface { +// PowerpackWidgetListStreamDefinitionRequestArray{ PowerpackWidgetListStreamDefinitionRequestArgs{...} } +type PowerpackWidgetListStreamDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput - ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput + ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput + ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput } -type powerpackWidgetManageStatusDefinitionPtrType PowerpackWidgetManageStatusDefinitionArgs - -func PowerpackWidgetManageStatusDefinitionPtr(v *PowerpackWidgetManageStatusDefinitionArgs) PowerpackWidgetManageStatusDefinitionPtrInput { - return (*powerpackWidgetManageStatusDefinitionPtrType)(v) -} +type PowerpackWidgetListStreamDefinitionRequestArray []PowerpackWidgetListStreamDefinitionRequestInput -func (*powerpackWidgetManageStatusDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestArray) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestArrayOutput) } -type PowerpackWidgetManageStatusDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetManageStatusDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { +func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutput() PowerpackWidgetListStreamDefinitionRequestOutput { return o } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { +func (o PowerpackWidgetListStreamDefinitionRequestOutput) ToPowerpackWidgetListStreamDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestOutput { return o } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return o.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) +// Widget columns. +func (o PowerpackWidgetListStreamDefinitionRequestOutput) Columns() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) []PowerpackWidgetListStreamDefinitionRequestColumn { + return v.Columns + }).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) } -func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetManageStatusDefinition) *PowerpackWidgetManageStatusDefinition { - return &v - }).(PowerpackWidgetManageStatusDefinitionPtrOutput) +// Updated list stream widget. +func (o PowerpackWidgetListStreamDefinitionRequestOutput) Query() PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequest) PowerpackWidgetListStreamDefinitionRequestQuery { + return v.Query + }).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) } -// 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) +// 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 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) +type PowerpackWidgetListStreamDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetListStreamDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequest)(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 PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutput() PowerpackWidgetListStreamDefinitionRequestArrayOutput { + 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 PowerpackWidgetListStreamDefinitionRequestArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestArrayOutput { + 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 PowerpackWidgetListStreamDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetListStreamDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetListStreamDefinitionRequest { + return vs[0].([]PowerpackWidgetListStreamDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetListStreamDefinitionRequestOutput) } -// Whether to show the priorities column. -func (o PowerpackWidgetManageStatusDefinitionOutput) ShowPriority() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *bool { return v.ShowPriority }).(pulumi.BoolPtrOutput) +type PowerpackWidgetListStreamDefinitionRequestColumn struct { + // Widget column field. + Field string `pulumi:"field"` + // Widget column width. Valid values are `auto`, `compact`, `full`. + Width string `pulumi:"width"` } -// 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) +// 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 + + ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput + ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput } -// 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 PowerpackWidgetListStreamDefinitionRequestColumnArgs struct { + // Widget column field. + Field pulumi.StringInput `pulumi:"field"` + // Widget column width. Valid values are `auto`, `compact`, `full`. + Width pulumi.StringInput `pulumi:"width"` } -// The title of the widget. -func (o PowerpackWidgetManageStatusDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +func (PowerpackWidgetListStreamDefinitionRequestColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -// 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 PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetListStreamDefinitionRequestColumnArgs) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnOutput) } -type PowerpackWidgetManageStatusDefinitionPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetManageStatusDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() + ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput + ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput } -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { - return o +type PowerpackWidgetListStreamDefinitionRequestColumnArray []PowerpackWidgetListStreamDefinitionRequestColumnInput + +func (PowerpackWidgetListStreamDefinitionRequestColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { - return o +func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(context.Background()) } -func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Elem() PowerpackWidgetManageStatusDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) PowerpackWidgetManageStatusDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetManageStatusDefinition - return ret - }).(PowerpackWidgetManageStatusDefinitionOutput) +func (i PowerpackWidgetListStreamDefinitionRequestColumnArray) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) } -// 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) -} +type PowerpackWidgetListStreamDefinitionRequestColumnOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetListStreamDefinitionRequestColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -// 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) +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutput() PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return o } -// 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) +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnOutput { + return o } -// 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) +// Widget column field. +func (o PowerpackWidgetListStreamDefinitionRequestColumnOutput) Field() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestColumn) string { return v.Field }).(pulumi.StringOutput) } -// 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) +// 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) } -// 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) -} +type PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput struct{ *pulumi.OutputState } -// 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 (PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetListStreamDefinitionRequestColumn)(nil)).Elem() } -// 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 PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutput() PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + 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 PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput) ToPowerpackWidgetListStreamDefinitionRequestColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestColumnArrayOutput { + return o } -// 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) +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) } -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"` +type PowerpackWidgetListStreamDefinitionRequestQuery struct { + // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + 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"` } -// PowerpackWidgetNoteDefinitionInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs and PowerpackWidgetNoteDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionInput` via: +// PowerpackWidgetListStreamDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQueryArgs and PowerpackWidgetListStreamDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQueryInput` via: // -// PowerpackWidgetNoteDefinitionArgs{...} -type PowerpackWidgetNoteDefinitionInput interface { +// PowerpackWidgetListStreamDefinitionRequestQueryArgs{...} +type PowerpackWidgetListStreamDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput - ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionOutput + ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput + ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput } -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"` +type PowerpackWidgetListStreamDefinitionRequestQueryArgs struct { + // Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. + 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 (PowerpackWidgetNoteDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { - return i.ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput) +func (i PowerpackWidgetListStreamDefinitionRequestQueryArgs) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQueryOutput) } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { - return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetListStreamDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput).ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx) +func (PowerpackWidgetListStreamDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuery)(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: -// -// nil -type PowerpackWidgetNoteDefinitionPtrInput interface { - pulumi.Input - - ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput - ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionPtrOutput +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutput() PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return o } -type powerpackWidgetNoteDefinitionPtrType PowerpackWidgetNoteDefinitionArgs +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) ToPowerpackWidgetListStreamDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQueryOutput { + return o +} -func PowerpackWidgetNoteDefinitionPtr(v *PowerpackWidgetNoteDefinitionArgs) PowerpackWidgetNoteDefinitionPtrInput { - return (*powerpackWidgetNoteDefinitionPtrType)(v) +// Source from which to query items to display in the stream. Valid values are `logsStream`, `auditStream`, `ciPipelineStream`, `ciTestStream`, `rumIssueStream`, `apmIssueStream`, `traceStream`, `logsIssueStream`, `logsPatternStream`, `logsTransactionStream`, `eventStream`, `rumStream`. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (*powerpackWidgetNoteDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() +// 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 (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { - return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) +// List of indexes. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionPtrOutput) +// Widget query. +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) QueryString() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.QueryString }).(pulumi.StringPtrOutput) } -type PowerpackWidgetNoteDefinitionOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetNoteDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() +// Storage location (private beta). +func (o PowerpackWidgetListStreamDefinitionRequestQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { - return o +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"` } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { - return o +// PowerpackWidgetListStreamDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs and PowerpackWidgetListStreamDefinitionRequestQuerySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortInput` via: +// +// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} +type PowerpackWidgetListStreamDefinitionRequestQuerySortInput interface { + pulumi.Input + + ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput + ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput } -func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { - return o.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) +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 (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetNoteDefinition) *PowerpackWidgetNoteDefinition { - return &v - }).(PowerpackWidgetNoteDefinitionPtrOutput) +func (PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -// 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 PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(context.Background()) } -// The content of the note. -func (o PowerpackWidgetNoteDefinitionOutput) Content() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) string { return v.Content }).(pulumi.StringOutput) +func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) } -// The size of the text. -func (o PowerpackWidgetNoteDefinitionOutput) FontSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.FontSize }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -// 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 (i PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput).ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx) } -// 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) +// PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetListStreamDefinitionRequestQuerySortArgs, PowerpackWidgetListStreamDefinitionRequestQuerySortPtr and PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput` via: +// +// PowerpackWidgetListStreamDefinitionRequestQuerySortArgs{...} +// +// or: +// +// nil +type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput interface { + pulumi.Input + + ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput } -// 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) +type powerpackWidgetListStreamDefinitionRequestQuerySortPtrType PowerpackWidgetListStreamDefinitionRequestQuerySortArgs + +func PowerpackWidgetListStreamDefinitionRequestQuerySortPtr(v *PowerpackWidgetListStreamDefinitionRequestQuerySortArgs) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrInput { + return (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType)(v) } -// 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) +func (*powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -// 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) +func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetListStreamDefinitionRequestQuerySortPtrType) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) } -type PowerpackWidgetNoteDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetListStreamDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetNoteDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() +func (PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { return o } -func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { return o } -func (o PowerpackWidgetNoteDefinitionPtrOutput) Elem() PowerpackWidgetNoteDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) PowerpackWidgetNoteDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetNoteDefinition - return ret - }).(PowerpackWidgetNoteDefinitionOutput) +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o.ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetListStreamDefinitionRequestQuerySort) *PowerpackWidgetListStreamDefinitionRequestQuerySort { + return &v + }).(PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) } -// 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 facet path for the column. +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetListStreamDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) } -// 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) +// 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) } -// 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) +type PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetListStreamDefinitionRequestQuerySort)(nil)).Elem() } -// 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) +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput() PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o } -// 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) +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput { + return o } -// 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 +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetListStreamDefinitionRequestQuerySortOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) PowerpackWidgetListStreamDefinitionRequestQuerySort { + if v != nil { + return *v } - return v.TickEdge - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetListStreamDefinitionRequestQuerySort + return ret + }).(PowerpackWidgetListStreamDefinitionRequestQuerySortOutput) } -// 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 path for the column. +func (o PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Column() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *string { if v == nil { return nil } - return v.TickPos + return &v.Column }).(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 PowerpackWidgetListStreamDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetListStreamDefinitionRequestQuerySort) *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"` +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"` - // 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 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`. @@ -24748,26 +24579,34 @@ type PowerpackWidgetQueryTableDefinition struct { TitleSize *string `pulumi:"titleSize"` } -// PowerpackWidgetQueryTableDefinitionInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs and PowerpackWidgetQueryTableDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionInput` via: +// PowerpackWidgetLogStreamDefinitionInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs and PowerpackWidgetLogStreamDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionArgs{...} -type PowerpackWidgetQueryTableDefinitionInput interface { +// PowerpackWidgetLogStreamDefinitionArgs{...} +type PowerpackWidgetLogStreamDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput - ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionOutput -} + ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput + ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionOutput +} -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"` +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"` - // 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 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`. @@ -24776,169 +24615,185 @@ type PowerpackWidgetQueryTableDefinitionArgs struct { TitleSize pulumi.StringPtrInput `pulumi:"titleSize"` } -func (PowerpackWidgetQueryTableDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { - return i.ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { + return i.ToPowerpackWidgetLogStreamDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput) } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput).ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetLogStreamDefinitionArgs) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionOutput).ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs, PowerpackWidgetQueryTableDefinitionPtr and PowerpackWidgetQueryTableDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionPtrInput` via: +// PowerpackWidgetLogStreamDefinitionPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionArgs, PowerpackWidgetLogStreamDefinitionPtr and PowerpackWidgetLogStreamDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionArgs{...} +// PowerpackWidgetLogStreamDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionPtrInput interface { +type PowerpackWidgetLogStreamDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput - ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput + ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput + ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionPtrType PowerpackWidgetQueryTableDefinitionArgs +type powerpackWidgetLogStreamDefinitionPtrType PowerpackWidgetLogStreamDefinitionArgs -func PowerpackWidgetQueryTableDefinitionPtr(v *PowerpackWidgetQueryTableDefinitionArgs) PowerpackWidgetQueryTableDefinitionPtrInput { - return (*powerpackWidgetQueryTableDefinitionPtrType)(v) +func PowerpackWidgetLogStreamDefinitionPtr(v *PowerpackWidgetLogStreamDefinitionArgs) PowerpackWidgetLogStreamDefinitionPtrInput { + return (*powerpackWidgetLogStreamDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() +func (*powerpackWidgetLogStreamDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionPtrOutput) +func (i *powerpackWidgetLogStreamDefinitionPtrType) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetLogStreamDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutput() PowerpackWidgetLogStreamDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { + return o.ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinition) *PowerpackWidgetQueryTableDefinition { +func (o PowerpackWidgetLogStreamDefinitionOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinition) *PowerpackWidgetLogStreamDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionPtrOutput) + }).(PowerpackWidgetLogStreamDefinitionPtrOutput) } -// 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) +// 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) } -// 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) +// 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) } // 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 (o PowerpackWidgetLogStreamDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *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`, `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) +// 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) +} + +// 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) +} + +// 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 PowerpackWidgetQueryTableDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +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 PowerpackWidgetQueryTableDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +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 PowerpackWidgetQueryTableDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetLogStreamDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetLogStreamDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutput() PowerpackWidgetLogStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) ToPowerpackWidgetLogStreamDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) PowerpackWidgetQueryTableDefinition { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) PowerpackWidgetLogStreamDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinition + var ret PowerpackWidgetLogStreamDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionOutput) + }).(PowerpackWidgetLogStreamDefinitionOutput) } -// 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 { +// 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.CustomLinks - }).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) + return v.Columns + }).(pulumi.StringArrayOutput) } -// 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 { +// 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.HasSearchBar - }).(pulumi.StringPtrOutput) + 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 PowerpackWidgetQueryTableDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { if v == nil { return nil } @@ -24946,19 +24801,59 @@ func (o PowerpackWidgetQueryTableDefinitionPtrOutput) LiveSpan() pulumi.StringPt }).(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 PowerpackWidgetQueryTableDefinitionPtrOutput) Requests() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) []PowerpackWidgetQueryTableDefinitionRequest { +// 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.Requests - }).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) + return v.MessageDisplay + }).(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) +} + +// 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) +} + +// 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) +} + +// 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) } // The title of the widget. -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { if v == nil { return nil } @@ -24967,8 +24862,8 @@ func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Title() pulumi.StringPtrOu } // 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 { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { if v == nil { return nil } @@ -24977,8 +24872,8 @@ func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleAlign() pulumi.String } // The size of the widget's title (defaults to 16). -func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) *string { +func (o PowerpackWidgetLogStreamDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinition) *string { if v == nil { return nil } @@ -24986,4614 +24881,4782 @@ func (o PowerpackWidgetQueryTableDefinitionPtrOutput) TitleSize() pulumi.StringP }).(pulumi.StringPtrOutput) } -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"` +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"` } -// PowerpackWidgetQueryTableDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArgs and PowerpackWidgetQueryTableDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkInput` via: +// PowerpackWidgetLogStreamDefinitionSortInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs and PowerpackWidgetLogStreamDefinitionSortOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortInput` via: // -// PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} -type PowerpackWidgetQueryTableDefinitionCustomLinkInput interface { +// PowerpackWidgetLogStreamDefinitionSortArgs{...} +type PowerpackWidgetLogStreamDefinitionSortInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput - ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput + ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput + ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortOutput } -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"` +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 (PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionSortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { + return i.ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput) } -// PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArray and PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput` via: +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetLogStreamDefinitionSortArgs) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortOutput).ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx) +} + +// PowerpackWidgetLogStreamDefinitionSortPtrInput is an input type that accepts PowerpackWidgetLogStreamDefinitionSortArgs, PowerpackWidgetLogStreamDefinitionSortPtr and PowerpackWidgetLogStreamDefinitionSortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetLogStreamDefinitionSortPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionCustomLinkArray{ PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} } -type PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetLogStreamDefinitionSortArgs{...} +// +// or: +// +// nil +type PowerpackWidgetLogStreamDefinitionSortPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput - ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput + ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput + ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput } -type PowerpackWidgetQueryTableDefinitionCustomLinkArray []PowerpackWidgetQueryTableDefinitionCustomLinkInput +type powerpackWidgetLogStreamDefinitionSortPtrType PowerpackWidgetLogStreamDefinitionSortArgs -func (PowerpackWidgetQueryTableDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +func PowerpackWidgetLogStreamDefinitionSortPtr(v *PowerpackWidgetLogStreamDefinitionSortArgs) PowerpackWidgetLogStreamDefinitionSortPtrInput { + return (*powerpackWidgetLogStreamDefinitionSortPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (*powerpackWidgetLogStreamDefinitionSortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) +func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return i.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetLogStreamDefinitionSortPtrType) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +type PowerpackWidgetLogStreamDefinitionSortOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetLogStreamDefinitionSortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutput() PowerpackWidgetLogStreamDefinitionSortOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortOutput { 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 PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return o.ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetLogStreamDefinitionSortOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetLogStreamDefinitionSort) *PowerpackWidgetLogStreamDefinitionSort { + return &v + }).(PowerpackWidgetLogStreamDefinitionSortPtrOutput) } -// 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 facet path for the column. +func (o PowerpackWidgetLogStreamDefinitionSortOutput) Column() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetLogStreamDefinitionSort) string { return v.Column }).(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) +// 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) } -type PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetLogStreamDefinitionSortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetLogStreamDefinitionSortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetLogStreamDefinitionSort)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutput() PowerpackWidgetLogStreamDefinitionSortPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) ToPowerpackWidgetLogStreamDefinitionSortPtrOutputWithContext(ctx context.Context) PowerpackWidgetLogStreamDefinitionSortPtrOutput { return o } -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 PowerpackWidgetLogStreamDefinitionSortPtrOutput) Elem() PowerpackWidgetLogStreamDefinitionSortOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) PowerpackWidgetLogStreamDefinitionSort { + if v != nil { + return *v + } + var ret PowerpackWidgetLogStreamDefinitionSort + return ret + }).(PowerpackWidgetLogStreamDefinitionSortOutput) } -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"` +// 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.Column + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArgs and PowerpackWidgetQueryTableDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestInput` via: +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetLogStreamDefinitionSortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetLogStreamDefinitionSort) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) +} + +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"` +} + +// PowerpackWidgetManageStatusDefinitionInput is an input type that accepts PowerpackWidgetManageStatusDefinitionArgs and PowerpackWidgetManageStatusDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetManageStatusDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestInput interface { +// PowerpackWidgetManageStatusDefinitionArgs{...} +type PowerpackWidgetManageStatusDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput - ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput + ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput + ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionOutput } -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"` +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 (PowerpackWidgetQueryTableDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetManageStatusDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { + return i.ToPowerpackWidgetManageStatusDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestOutput) +func (i PowerpackWidgetManageStatusDefinitionArgs) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionOutput) } -// PowerpackWidgetQueryTableDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArray and PowerpackWidgetQueryTableDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestArrayInput` 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: // -// PowerpackWidgetQueryTableDefinitionRequestArray{ PowerpackWidgetQueryTableDefinitionRequestArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestArrayInput interface { +// PowerpackWidgetManageStatusDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetManageStatusDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput + ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput + ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestArray []PowerpackWidgetQueryTableDefinitionRequestInput +type powerpackWidgetManageStatusDefinitionPtrType PowerpackWidgetManageStatusDefinitionArgs -func (PowerpackWidgetQueryTableDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +func PowerpackWidgetManageStatusDefinitionPtr(v *PowerpackWidgetManageStatusDefinitionArgs) PowerpackWidgetManageStatusDefinitionPtrInput { + return (*powerpackWidgetManageStatusDefinitionPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetManageStatusDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) +func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { + return i.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetManageStatusDefinitionPtrType) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetManageStatusDefinitionPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +type PowerpackWidgetManageStatusDefinitionOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetManageStatusDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { +func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutput() PowerpackWidgetManageStatusDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { +func (o PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionOutput { return o } -// 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 PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { + return o.ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(context.Background()) } -// 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 PowerpackWidgetManageStatusDefinitionOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetManageStatusDefinition) *PowerpackWidgetManageStatusDefinition { + return &v + }).(PowerpackWidgetManageStatusDefinitionPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmStatsQuery() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { - return v.ApmStatsQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) +// 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 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) +// 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) } -// 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) +// 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 PowerpackWidgetQueryTableDefinitionRequestOutput) Formulas() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) +// 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) } -// 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) +// 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 query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +// 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 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 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) } -// 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 title of the widget. +func (o PowerpackWidgetManageStatusDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetManageStatusDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// 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) +// 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 (o PowerpackWidgetQueryTableDefinitionRequestOutput) Queries() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) +// 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) } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) +type PowerpackWidgetManageStatusDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetManageStatusDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetManageStatusDefinition)(nil)).Elem() } -// The query to use for this widget. -func (o PowerpackWidgetQueryTableDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutput() PowerpackWidgetManageStatusDefinitionPtrOutput { + return o } -type PowerpackWidgetQueryTableDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) ToPowerpackWidgetManageStatusDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetManageStatusDefinitionPtrOutput { + return o +} -func (PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() +func (o PowerpackWidgetManageStatusDefinitionPtrOutput) Elem() PowerpackWidgetManageStatusDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetManageStatusDefinition) PowerpackWidgetManageStatusDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetManageStatusDefinition + return ret + }).(PowerpackWidgetManageStatusDefinitionOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { - return o +// 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) } -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) +// 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) } -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"` +// 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) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryInput` via: +// 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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 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"` +} + +// PowerpackWidgetNoteDefinitionInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs and PowerpackWidgetNoteDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryInput interface { +// PowerpackWidgetNoteDefinitionArgs{...} +type PowerpackWidgetNoteDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput + ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput + ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionOutput } -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 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 (PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetNoteDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { + return i.ToPowerpackWidgetNoteDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { + return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetNoteDefinitionArgs) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionOutput).ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetNoteDefinitionPtrInput is an input type that accepts PowerpackWidgetNoteDefinitionArgs, PowerpackWidgetNoteDefinitionPtr and PowerpackWidgetNoteDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetNoteDefinitionPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetNoteDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetNoteDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput + ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetNoteDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs +type powerpackWidgetNoteDefinitionPtrType PowerpackWidgetNoteDefinitionArgs -func PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetNoteDefinitionPtr(v *PowerpackWidgetNoteDefinitionArgs) PowerpackWidgetNoteDefinitionPtrInput { + return (*powerpackWidgetNoteDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetNoteDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { + return i.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetNoteDefinitionPtrType) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetNoteDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetNoteDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetNoteDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetNoteDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutput() PowerpackWidgetNoteDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { + return o.ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { +func (o PowerpackWidgetNoteDefinitionOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetNoteDefinition) *PowerpackWidgetNoteDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) + }).(PowerpackWidgetNoteDefinitionPtrOutput) } -// `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) +// The background color of the note. +func (o PowerpackWidgetNoteDefinitionOutput) BackgroundColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetNoteDefinition) *string { return v.BackgroundColor }).(pulumi.StringPtrOutput) } -// 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) +// 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 the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) string { return v.Index }).(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) } -// `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) +// 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 search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { return v.SearchQuery }).(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) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { +// 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 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 PowerpackWidgetNoteDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetNoteDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetNoteDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutput() PowerpackWidgetNoteDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetNoteDefinitionPtrOutput) ToPowerpackWidgetNoteDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetNoteDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) PowerpackWidgetQueryTableDefinitionRequestApmQuery { +func (o PowerpackWidgetNoteDefinitionPtrOutput) Elem() PowerpackWidgetNoteDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetNoteDefinition) PowerpackWidgetNoteDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestApmQuery + var ret PowerpackWidgetNoteDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) + }).(PowerpackWidgetNoteDefinitionOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) + return v.BackgroundColor + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy { +// 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.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) + return &v.Content + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *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.Index + return v.FontSize }).(pulumi.StringPtrOutput) } -// `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 { +// 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.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) + return v.HasPadding + }).(pulumi.BoolPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) *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.SearchQuery + 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) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery 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"` +// 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.TickEdge + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput` via: +// 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.TickPos + }).(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 { + if v == nil { + return nil + } + return v.VerticalAlign + }).(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"` +} + +// PowerpackWidgetQueryTableDefinitionInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs and PowerpackWidgetQueryTableDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionArgs{...} +type PowerpackWidgetQueryTableDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput + ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs 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 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 (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { + return i.ToPowerpackWidgetQueryTableDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionArgs) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionOutput).ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionArgs, PowerpackWidgetQueryTableDefinitionPtr and PowerpackWidgetQueryTableDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput + ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetQueryTableDefinitionPtrType PowerpackWidgetQueryTableDefinitionArgs -func PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionPtr(v *PowerpackWidgetQueryTableDefinitionArgs) PowerpackWidgetQueryTableDefinitionPtrInput { + return (*powerpackWidgetQueryTableDefinitionPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionPtrType) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutput() PowerpackWidgetQueryTableDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinition) *PowerpackWidgetQueryTableDefinition { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(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) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(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) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetQueryTableDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +// 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { +// 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) +} + +// 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 PowerpackWidgetQueryTableDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutput() PowerpackWidgetQueryTableDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) ToPowerpackWidgetQueryTableDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinition) PowerpackWidgetQueryTableDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetQueryTableDefinition return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *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.Aggregation + return v.CustomLinks + }).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) +} + +// 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) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *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.Facet + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *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`, `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.Interval - }).(pulumi.IntPtrOutput) + return v.Requests + }).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy 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 *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` +// 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) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput` via: +// 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) +} + +// 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) +} + +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"` +} + +// PowerpackWidgetQueryTableDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArgs and PowerpackWidgetQueryTableDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} +type PowerpackWidgetQueryTableDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +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 (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArgs) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionCustomLinkArray and PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetQueryTableDefinitionCustomLinkArray{ PowerpackWidgetQueryTableDefinitionCustomLinkArgs{...} } +type PowerpackWidgetQueryTableDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetQueryTableDefinitionCustomLinkArray []PowerpackWidgetQueryTableDefinitionCustomLinkInput -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionCustomLinkArray) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutput() PowerpackWidgetQueryTableDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// 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 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 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) +// The URL of the custom link. +func (o PowerpackWidgetQueryTableDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(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 PowerpackWidgetQueryTableDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { - return o +type PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { 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 PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryTableDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput { + 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 PowerpackWidgetQueryTableDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionCustomLink { + return vs[0].([]PowerpackWidgetQueryTableDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionCustomLinkOutput) } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput -} - -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"` -} - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +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"` + // Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + TextFormats []PowerpackWidgetQueryTableDefinitionRequestTextFormat `pulumi:"textFormats"` } -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestArgs and PowerpackWidgetQueryTableDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput + ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +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"` + // Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + TextFormats PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayInput `pulumi:"textFormats"` } -func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (PowerpackWidgetQueryTableDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestArgs) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o -} +// 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 -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) + ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) -} +type PowerpackWidgetQueryTableDefinitionRequestArray []PowerpackWidgetQueryTableDefinitionRequestInput -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (PowerpackWidgetQueryTableDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetQueryTableDefinitionRequestArray) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutput() PowerpackWidgetQueryTableDefinitionRequestOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ToPowerpackWidgetQueryTableDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// 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 - }).(pulumi.StringPtrOutput) -} - -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"` +// 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) } -// 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 - - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput +// 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) } -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"` +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) ApmStatsQuery() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { + return v.ApmStatsQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) +// 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) } -// 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 (o PowerpackWidgetQueryTableDefinitionRequestOutput) Formulas() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +// 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) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) +// 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +// 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 (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return o +// 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { - return o +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) Queries() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. +func (o PowerpackWidgetQueryTableDefinitionRequestOutput) TextFormats() PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequest) []PowerpackWidgetQueryTableDefinitionRequestTextFormat { + return v.TextFormats + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutput() PowerpackWidgetQueryTableDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput } -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"` +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 (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs +type powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) -} - -// 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) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) } -// The environment name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Env }).(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) } -// 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 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) +// 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) } -// The resource name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { return v.Resource }).(pulumi.StringPtrOutput) +// 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 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) +// `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 service name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQuery) PowerpackWidgetQueryTableDefinitionRequestApmQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery + var ret PowerpackWidgetQueryTableDefinitionRequestApmQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryOutput) } -// Column properties used by the front end for display. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Columns() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn { +// `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.Columns - }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The environment name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *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.Env - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) } -// The operation name associated with the service. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *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 organization's host group name and value. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) PrimaryTag() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { +// `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.PrimaryTag - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) } -// The resource name. -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Resource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *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.Resource + return v.SearchQuery }).(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) +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery 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 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) -} +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryInput interface { + pulumi.Input -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"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput interface { - pulumi.Input +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs 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"` +} - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -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"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray{ PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput +type powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(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 PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) } -// 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput { 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) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryComputeQueryOutput) } -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"` +// 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) } -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput` via: +// 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"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` +} + +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput } -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"` +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByInput -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput { return o } -// 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) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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 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 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) +// 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) } -// Setting this to True hides values. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBy)(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 PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + 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 PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupByArrayOutput { + 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) +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) } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +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"` } -// A value for the comparator. -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } +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"` +} -func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) } -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 (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -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"` +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -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 powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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 +func (i *powerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaArray []PowerpackWidgetQueryTableDefinitionRequestFormulaInput +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return o } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return o } -type PowerpackWidgetQueryTableDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return o +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { - return o +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// An expression alias. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(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) +// 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) } -// 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) -} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -// The options for limiting results returned. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o } -// Styling options for widget formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Style() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o } -type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return o +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { - return o +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -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) +// 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 + }).(pulumi.StringPtrOutput) } -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 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"` } -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput } -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 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 (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeInput -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput { 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) -} - -// 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 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) -} - -// Setting this to True hides values. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) -} - -// 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 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) -} - -// 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 aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// 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 PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput } -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 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"` } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs +type powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// 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 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 environment name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { - return o +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { +// The resource name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) Resource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { return v.Resource }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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 PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestFormulaLimit + var ret PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { +// 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.Count - }).(pulumi.IntPtrOutput) + return v.Columns + }).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) } -// 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 environment name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestApmStatsQuery) *string { if v == nil { return nil } - return v.Order + return &v.Env }).(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"` +// 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) } -// 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 +// 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) +} - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput +// 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) } -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"` +// 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 (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +// 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 (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs and PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +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"` + // Widget sorting methods. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput interface { - pulumi.Input +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(context.Background()) +} - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArgs) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) } -type powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs +// 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 -func PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType)(v) + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput } -func (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray []PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnInput + +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArray) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +// 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 PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +// 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 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 column name. +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn) string { return v.Name }).(pulumi.StringOutput) } -// 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) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumn)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput() PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestApmStatsQueryColumnArrayOutput { 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 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 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 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"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput -} - -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 (PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestConditionalFormatInput -func (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// 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 (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) +// 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) } -// `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) +// 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) } -// 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) +// 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 the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) string { return v.Index }).(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) } -// `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 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) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o +// A value for the comparator. +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { - return o -} +type PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) PowerpackWidgetQueryTableDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestLogQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestConditionalFormat)(nil)).Elem() } -// `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) +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return o } -// 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) +func (o PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestConditionalFormatArrayOutput { + return o } -// 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) +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) } -// `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"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` +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"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput -} - -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +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"` } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaArray and PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestFormulaArray []PowerpackWidgetQueryTableDefinitionRequestFormulaInput -func (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +// An expression alias. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) 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 PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The options for limiting results returned. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// Styling options for widget formulas. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaOutput) Style() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormula) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) +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) } -// 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 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"` } -// 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) +// 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 + + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput } -// 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) +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 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 (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) +} + +// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput } -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"` -} +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatInput -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) } -// 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 +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return o +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput { + return o } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// Setting this to True hides values. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return o +// Displays an image as the background. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { - return o +// 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) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *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 PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// 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) +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -// 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) +// A value for the comparator. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -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) +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 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"` +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"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput } -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"` +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 (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs -func PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The number of results to return. +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// 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) +// 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 PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaLimit) PowerpackWidgetQueryTableDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetQueryTableDefinitionRequestFormulaLimit return ret - }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaLimitOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { +// 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.Facet - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *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.Order + return v.Order }).(pulumi.StringPtrOutput) } -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 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"` } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput } -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"` +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 (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) } -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput +type powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *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 PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput { 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 PowerpackWidgetQueryTableDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestFormulaStyle) PowerpackWidgetQueryTableDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestFormulaStyle + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestFormulaStyleOutput) } -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"` +// 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) } -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput` via: +// 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) +} + +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"` +} + +// PowerpackWidgetQueryTableDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput } -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 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 (PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs +type powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestProcessQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// `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) } -// 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) +// 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) } -// Your chosen metric. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// 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) } -// Your chosen search term. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// `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) } -type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) PowerpackWidgetQueryTableDefinitionRequestProcessQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQuery) PowerpackWidgetQueryTableDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestProcessQuery + var ret PowerpackWidgetQueryTableDefinitionRequestLogQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryOutput) } -// A list of processes. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { +// `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.FilterBies - }).(pulumi.StringArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) } -// Your chosen metric. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { +// 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.Metric + return &v.Index }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { +// `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.SearchBy + 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 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 PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery 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: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput } -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"` +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArray and PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryArray{ PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryArray []PowerpackWidgetQueryTableDefinitionRequestQueryInput +type powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { return o } -// 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 (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -// The SLO query using formulas and functions. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o } -type PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput { + return o +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryComputeQueryOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return o +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { - return o +// 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 (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) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +// 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 } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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 +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) } -type powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return o } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput { + return o } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +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) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +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"` } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput } -// 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 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"` } -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(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 PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(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 PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) } -// Name of operation on service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// 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) +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +type powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs + +func PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.Service +func (*powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +} + +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +} + +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation }).(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) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput 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 (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// 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) -} - -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Env + return v.Facet }).(pulumi.StringPtrOutput) } -// 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 name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { +// 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.Name + return &v.Order }).(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 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"` } -// 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) -} +// 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 -// 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) + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput } -// 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) +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"` } -// 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 (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -// 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 PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeInput -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -// 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 - - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return o } -type powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput { + return o } -func (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +// 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 PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +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 PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +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"` } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput } -// 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) +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"` } -// APM environment. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -// 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) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -// 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 (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) } -// Name of operation on service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(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 PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// 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) +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +type powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs + +func PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType)(v) } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (*powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -// 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) +func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestProcessQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) } -// 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) +// A list of processes. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// 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) +// 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) } -// 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) +// Your chosen metric. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// 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) +// Your chosen search term. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { return v.SearchBy }).(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 - } - return v.OperationName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestProcessQuery)(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 PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) PowerpackWidgetQueryTableDefinitionRequestProcessQuery { + if v != nil { + return *v } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetQueryTableDefinitionRequestProcessQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestProcessQueryOutput) } -// 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 { +// A list of processes. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// APM resource. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *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.ResourceName - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// APM service. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { +// Your chosen metric. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Service + return &v.Metric }).(pulumi.StringPtrOutput) } -// 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 { +// Your chosen search term. +func (o PowerpackWidgetQueryTableDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Stat + return v.SearchBy }).(pulumi.StringPtrOutput) } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` -} - -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput +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 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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"` -} +// PowerpackWidgetQueryTableDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryArray and PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryArray{ PowerpackWidgetQueryTableDefinitionRequestQueryArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestQueryArray []PowerpackWidgetQueryTableDefinitionRequestQueryInput -func (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(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 (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) +// 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) } -// 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 Cloud Cost query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) } -// 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) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) } -// 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 process query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) -} - -// 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.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(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 { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} - -// 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.Name - }).(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) +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) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // The search options. - Search *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` + // 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // The search options. - Search PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` + // 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +// 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) } -// Group by options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// 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) +// 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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) +// Name of operation on service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// Storage location (private beta). -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { return v.Storage }).(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 PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { +// APM service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.Service + }).(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) +} + +type PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery 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) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -29601,9 +29664,9 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Cros }).(pulumi.StringPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { +// 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 } @@ -29611,29 +29674,29 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Data }).(pulumi.StringPtrOutput) } -// Group by options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) + return &v.Env + }).(pulumi.StringPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []string { +// 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.Indexes - }).(pulumi.StringArrayOutput) + return v.IsUpstream + }).(pulumi.BoolPtrOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } @@ -29641,565 +29704,613 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Name }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { +// 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.Search - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) + return &v.OperationName + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *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 PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Storage + return v.PrimaryTagName }).(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`. - Aggregation string `pulumi:"aggregation"` - // A time interval in milliseconds. - 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: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput +// 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 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"` - // A time interval in milliseconds. - Interval pulumi.IntPtrInput `pulumi:"interval"` - // The measurable attribute to compute. - Metric pulumi.StringPtrInput `pulumi:"metric"` +// 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - 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 + + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { - return o +type powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs + +func PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -// 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 (*powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -// A time interval in milliseconds. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -// The measurable attribute to compute. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { 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 PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -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"` +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -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"` +// 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// APM environment. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) +// 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) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input +// Name of operation on service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput +// 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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput +// 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) +// 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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -// The event facet. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o +// 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) } -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) +// 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) } -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"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` +// 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) } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput +// 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) } -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"` - // Direction of sort. Valid values are `asc`, `desc`. - Order pulumi.StringPtrInput `pulumi:"order"` +// 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 (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// 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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryInput interface { + pulumi.Input -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput } -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) } -// 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) +// 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 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(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) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// The cloud cost query definition. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +type PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryOutput) } -// 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 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 metric used for sorting group by results. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Metric + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *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.Order + return &v.DataSource }).(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: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput 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() -} - -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) -} - -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput -} - -type powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType)(v) -} - -func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return o -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// The events search string. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) -} - -type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v +// 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 } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *string { +// The cloud cost query definition. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -30207,182 +30318,215 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput }).(pulumi.StringPtrOutput) } -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"` +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource *string `pulumi:"dataSource"` - // The name of the query for use in formulas. + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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 metrics query definition. - Query string `pulumi:"query"` + // The search options. + Search *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput } -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"` +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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 metrics query definition. - Query pulumi.StringInput `pulumi:"query"` + // The search options. + Search PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) } -// 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) +// The compute options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// 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) +// Group by options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The metrics query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() +// The search options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { +// Storage location (private beta). +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryOutput) } -// 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 { +// The compute options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.Computes + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } @@ -30390,19 +30534,39 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Cro }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.DataSource + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// Group by options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy { + if v == nil { + return nil + } + 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 } @@ -30410,1591 +30574,1557 @@ func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Nam }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { +// The search options. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return &v.Query + 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 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` + // A time interval in milliseconds. + Interval *int `pulumi:"interval"` + // The measurable attribute to compute. + Metric *string `pulumi:"metric"` } -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput -} - -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +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"` + // A time interval in milliseconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` + // The measurable attribute to compute. + Metric pulumi.StringPtrInput `pulumi:"metric"` } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput } -type powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeInput -func (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +// 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 PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// 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 measurable attribute to compute. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -// 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) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return o } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryComputeArrayOutput { + return o } -// The number of hits to return. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +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) } -// The process metric name. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +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"` } -// 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) +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput } -// 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) +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"` } -// 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) +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// 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) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByInput + +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { - return o +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// 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) +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return o } -// 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) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput { + return o } -// 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.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) +// The event facet. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// 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 number of groups to return. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *int { 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) +// The options for sorting group by results. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// 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.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -// 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.Sort - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// 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) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -// 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) +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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` +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"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +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"` + // Direction of sort. Valid values are `asc`, `desc`. + Order pulumi.StringPtrInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) -} - -// 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) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(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) -} - -// 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) -} - -// 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) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// 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) +// 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) } -// 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 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) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(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) } -type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) -} - -// 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(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 { - 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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { - if v == nil { - return nil - } - return &v.Measure - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Name + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// 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.SloId + return v.Metric }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { +// 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.SloQueryType + return v.Order }).(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"` +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput } -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 PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) -} - -// `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) -} - -// 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) -} - -// 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) -} - -// `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) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) PowerpackWidgetQueryTableDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestRumQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) -} - -// `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.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// 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.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) -} - -// `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.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryEventQuerySearchOutput) } -// The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *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.SearchQuery + return &v.Query }).(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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput } -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 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) 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 PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(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 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput 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 (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(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 PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { +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 PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *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.Interval - }).(pulumi.IntPtrOutput) + return v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. +// 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) +} + +// 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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 *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery `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"` } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) + // 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) +func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput - -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput` via: +// +// PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput interface { + pulumi.Input -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return o -} +type powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { - return o +func PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType)(v) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (*powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -// 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 (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { 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) -} - -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"` -} - -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -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 (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +// 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) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) +// 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) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +// The number of hits to return. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput +// The process metric name. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -type powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs - -func PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +// 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 (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(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 (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// 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) } -func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// 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 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) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +// 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.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { - if v != nil { - return *v +// 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 } - var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery - return ret - }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *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.Aggregation + return v.Sort }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { +// 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.Facet - }).(pulumi.StringPtrOutput) + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { +// 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.Order + return v.TextFilter }).(pulumi.StringPtrOutput) } -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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput } -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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) } -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput +type powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType)(v) } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { 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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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) } -type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +// 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 (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { +// 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) +} + +// 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 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) +} + +// 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 of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput { 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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQuery struct { +// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(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 { + 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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *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 PowerpackWidgetQueryTableDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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) +} + +// type of the SLO to query. Valid values are `metric`, `timeSlice`. 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 PowerpackWidgetQueryTableDefinitionRequestRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs +type powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) } // 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) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } // `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 { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) PowerpackWidgetQueryTableDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQuery + var ret PowerpackWidgetQueryTableDefinitionRequestRumQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -32003,18 +32133,18 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Index( } // `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 { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQuery) *string { if v == nil { return nil } @@ -32022,7 +32152,7 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Search }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -32031,18 +32161,18 @@ type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery struct Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -32051,127 +32181,125 @@ type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs str Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(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) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -32180,8 +32308,8 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOu } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } @@ -32190,8 +32318,8 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOu } // Define the time interval in seconds. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } @@ -32199,124 +32327,124 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy struct { +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 *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs struct { +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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput { 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupByArrayOutput { return o } -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 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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -32325,18 +32453,18 @@ type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery str Order string `pulumi:"order"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -32345,129 +32473,127 @@ type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) 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) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -32476,8 +32602,8 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryP } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -32486,8 +32612,8 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryP } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -32495,7 +32621,7 @@ func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryP }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -32504,18 +32630,18 @@ type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute struct Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -32524,970 +32650,785 @@ type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs str Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(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) +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput { 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 PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestRumQueryMultiComputeOutput) } -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 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"` } -// PowerpackWidgetQueryValueDefinitionInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs and PowerpackWidgetQueryValueDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionArgs{...} -type PowerpackWidgetQueryValueDefinitionInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput - ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput } -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 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"` } -func (PowerpackWidgetQueryValueDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { - return i.ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput).ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs, PowerpackWidgetQueryValueDefinitionPtr and PowerpackWidgetQueryValueDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput - ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionPtrType PowerpackWidgetQueryValueDefinitionArgs +type powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs -func PowerpackWidgetQueryValueDefinitionPtr(v *PowerpackWidgetQueryValueDefinitionArgs) PowerpackWidgetQueryValueDefinitionPtrInput { - return (*powerpackWidgetQueryValueDefinitionPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinition { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { 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) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) } -// 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) +// `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) } -// 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) +// 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) } -// 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) +// 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) } -// 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) -} - -// 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) -} - -// 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) -} - -// Set a timeseries on the widget background. -func (o PowerpackWidgetQueryValueDefinitionOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { - return v.TimeseriesBackground - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) -} - -// The title of the widget. -func (o PowerpackWidgetQueryValueDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// 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) +// `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 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) +// The search query to use. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) PowerpackWidgetQueryValueDefinition { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinition + var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetQueryValueDefinitionOutput) -} - -// 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) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryOutput) } -// 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 { +// `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.CustomLinks - }).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// The unit for the value displayed in the widget. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) CustomUnit() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *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.CustomUnit - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) } -// 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 { +// 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.LiveSpan + return &v.Index }).(pulumi.StringPtrOutput) } -// 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) -} - -// 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 { +// `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.Requests - }).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) + return v.MultiComputes + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// 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 { +// 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.TextAlign + return v.SearchQuery }).(pulumi.StringPtrOutput) } -// Set a timeseries on the widget background. -func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { - if v == nil { - return nil - } - return v.TimeseriesBackground - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) -} - -// 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.Title - }).(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"` } -// 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.TitleAlign - }).(pulumi.StringPtrOutput) -} +// 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 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.TitleSize - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput } -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 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"` } -// PowerpackWidgetQueryValueDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArgs and PowerpackWidgetQueryValueDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkInput` via: -// -// PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} -type PowerpackWidgetQueryValueDefinitionCustomLinkInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput - ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArray and PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionCustomLinkArray{ PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} } -type PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput - ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionCustomLinkArray []PowerpackWidgetQueryValueDefinitionCustomLinkInput +type powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs -func (PowerpackWidgetQueryValueDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { 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) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) string { + return v.Aggregation + }).(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 PowerpackWidgetQueryValueDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput { 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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQuery + return ret + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryComputeQueryOutput) } -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"` +// 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) } -// PowerpackWidgetQueryValueDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArgs and PowerpackWidgetQueryValueDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestInput` via: +// 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) +} + +// 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) +} + +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"` +} + +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput - ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput } -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 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 (PowerpackWidgetQueryValueDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArray and PowerpackWidgetQueryValueDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestArray{ PowerpackWidgetQueryValueDefinitionRequestArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestArray []PowerpackWidgetQueryValueDefinitionRequestInput +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput { 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) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +// 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) } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) AuditQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) +// 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) } -// 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) +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Formulas() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { + return o } -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) -} - -// 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) -} - -// 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 PowerpackWidgetQueryValueDefinitionRequestOutput) Queries() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetQueryValueDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArrayOutput { 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) +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) } -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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput } -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"` +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"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs +type powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) -} - -// `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) -} - -// 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) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(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 { - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(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) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) PowerpackWidgetQueryValueDefinitionRequestApmQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestApmQuery + var ret PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) -} - -// `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.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) -} - -// 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.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) *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.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery struct { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -33496,18 +33437,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: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs struct { +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -33516,1250 +33457,1444 @@ type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput -func (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) -} - // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) 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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *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 PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { - if v == nil { - return nil - } - 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) -} - -// 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) +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 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"` +type PowerpackWidgetQueryTableDefinitionRequestTextFormat struct { + // The text format to apply to the items in a table widget column. + TextFormats []PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat `pulumi:"textFormats"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetQueryTableDefinitionRequestTextFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs and PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestTextFormatInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput } -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"` +type PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs struct { + // The text format to apply to the items in a table widget column. + TextFormats PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput `pulumi:"textFormats"` } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatArray and PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetQueryTableDefinitionRequestTextFormatArray{ PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetQueryTableDefinitionRequestTextFormatArray []PowerpackWidgetQueryTableDefinitionRequestTextFormatInput -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *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) -} - -// 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 text format to apply to the items in a table widget column. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput) TextFormats() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormat) []PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat { + return v.TextFormats + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestTextFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput { 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 PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestTextFormat { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestTextFormat)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput) } -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"` +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat struct { + // The custom color palette to apply to the background. + CustomBgColor *string `pulumi:"customBgColor"` + // The custom color palette to apply to the foreground text. + CustomFgColor *string `pulumi:"customFgColor"` + // Match rule for the table widget text format. + Match PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch `pulumi:"match"` + // The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + Palette *string `pulumi:"palette"` + // Match rule for the table widget text format. + Replace *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace `pulumi:"replace"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs and PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput -} - -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 (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs struct { + // The custom color palette to apply to the background. + CustomBgColor pulumi.StringPtrInput `pulumi:"customBgColor"` + // The custom color palette to apply to the foreground text. + CustomFgColor pulumi.StringPtrInput `pulumi:"customFgColor"` + // Match rule for the table widget text format. + Match PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput `pulumi:"match"` + // The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + Palette pulumi.StringPtrInput `pulumi:"palette"` + // Match rule for the table widget text format. + Replace PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput `pulumi:"replace"` } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray and PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput` via: // -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray{ PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs{...} } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput } -type powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray []PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatInput -func (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The custom color palette to apply to the background. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// The custom color palette to apply to the foreground text. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// Match rule for the table widget text format. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) Match() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + return v.Match + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat) *string { return v.Palette }).(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) +// Match rule for the table widget text format. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) Replace() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat) *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + return v.Replace + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// 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.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat { + return vs[0].([]PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat)[vs[1].(int)] + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute 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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch struct { + // Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + Type string `pulumi:"type"` + // Table Widget Match String. + Value string `pulumi:"value"` } -// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs and PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs 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 (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput } -// 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 +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs struct { + // Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + Type pulumi.StringInput `pulumi:"type"` + // Table Widget Match String. + Value pulumi.StringInput `pulumi:"value"` } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput - -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) } -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { - return o +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) 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) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { - return o +// Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch) string { return v.Type }).(pulumi.StringOutput) } -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) +// Table Widget Match String. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch) string { return v.Value }).(pulumi.StringOutput) } -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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace struct { + // Text that will be replaced. Must be used with type `substring`. + Substring *string `pulumi:"substring"` + // Table widget text format replace all type. + Type string `pulumi:"type"` + // Table Widget Match String. + With string `pulumi:"with"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput` via: +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs and PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput interface { +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{...} +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput } -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"` +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs struct { + // Text that will be replaced. Must be used with type `substring`. + Substring pulumi.StringPtrInput `pulumi:"substring"` + // Table widget text format replace all type. + Type pulumi.StringInput `pulumi:"type"` + // Table Widget Match String. + With pulumi.StringInput `pulumi:"with"` } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput).ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput` via: +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput is an input type that accepts PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs, PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtr and PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} +// PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput interface { +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput + ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput } -type powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs +type powerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs -func PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType)(v) +func PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtr(v *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput { + return (*powerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() +func (*powerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return i.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) +func (i *powerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrType) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o.ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { 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) -} - -// 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) + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) } -// 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) +// Text that will be replaced. Must be used with type `substring`. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) Substring() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { + return v.Substring + }).(pulumi.StringPtrOutput) } -// `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) +// Table widget text format replace all type. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) string { return v.Type }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// Table Widget Match String. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) With() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) string { return v.With }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) ToPowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQuery { +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) Elem() PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestAuditQuery + var ret PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace 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) + }).(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { +// Text that will be replaced. Must be used with type `substring`. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) Substring() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { if v == nil { return nil } - return &v.Index + return v.Substring }).(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 { +// Table widget text format replace all type. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) + return &v.Type + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { +// Table Widget Match String. +func (o PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput) With() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace) *string { if v == nil { return nil } - return v.SearchQuery + return &v.With }).(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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs and PowerpackWidgetQueryValueDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionArgs{...} +type PowerpackWidgetQueryValueDefinitionInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput + ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionOutput } -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"` +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 (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { + return i.ToPowerpackWidgetQueryValueDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionArgs) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionOutput).ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionArgs, PowerpackWidgetQueryValueDefinitionPtr and PowerpackWidgetQueryValueDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput + ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionPtrType PowerpackWidgetQueryValueDefinitionArgs -func PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionPtr(v *PowerpackWidgetQueryValueDefinitionArgs) PowerpackWidgetQueryValueDefinitionPtrInput { + return (*powerpackWidgetQueryValueDefinitionPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionPtrType) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinition)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutput() PowerpackWidgetQueryValueDefinitionOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinition { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput 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 PowerpackWidgetQueryValueDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +// 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 (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { +// 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) +} + +// 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) +} + +// Set a timeseries on the widget background. +func (o PowerpackWidgetQueryValueDefinitionOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { + return v.TimeseriesBackground + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) +} + +// The title of the widget. +func (o PowerpackWidgetQueryValueDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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 PowerpackWidgetQueryValueDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutput() PowerpackWidgetQueryValueDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) ToPowerpackWidgetQueryValueDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) PowerpackWidgetQueryValueDefinition { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery + var ret PowerpackWidgetQueryValueDefinition return ret - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { +// 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.Aggregation + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + +// 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 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) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *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 PowerpackWidgetQueryValueDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *string { if v == nil { return nil } - return v.Facet + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { +// 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.Interval + return v.Precision }).(pulumi.IntPtrOutput) } -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"` +// 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) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput` via: +// 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) +} + +// Set a timeseries on the widget background. +func (o PowerpackWidgetQueryValueDefinitionPtrOutput) TimeseriesBackground() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinition) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { + if v == nil { + return nil + } + return v.TimeseriesBackground + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) +} + +// 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.Title + }).(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 { + if v == nil { + return nil + } + return v.TitleAlign + }).(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 { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) +} + +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"` +} + +// PowerpackWidgetQueryValueDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArgs and PowerpackWidgetQueryValueDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} +type PowerpackWidgetQueryValueDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput } -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 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 (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArgs) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkOutput) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput` via: +// PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionCustomLinkArray and PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionCustomLinkArray{ PowerpackWidgetQueryValueDefinitionCustomLinkArgs{...} } +type PowerpackWidgetQueryValueDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionCustomLinkArray []PowerpackWidgetQueryValueDefinitionCustomLinkInput -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionCustomLinkArray) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutput() PowerpackWidgetQueryValueDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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 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) +// 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) } -// 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) +// 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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput 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 PowerpackWidgetQueryValueDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput() PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput) ToPowerpackWidgetQueryValueDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionCustomLinkArrayOutput { 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 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 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 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"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArgs and PowerpackWidgetQueryValueDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput + ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput } -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 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"` } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestArgs) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetQueryValueDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestArray and PowerpackWidgetQueryValueDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestArray{ PowerpackWidgetQueryValueDefinitionRequestArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestArrayInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) +type PowerpackWidgetQueryValueDefinitionRequestArray []PowerpackWidgetQueryValueDefinitionRequestInput + +func (PowerpackWidgetQueryValueDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { - pulumi.Input +func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput +func (i PowerpackWidgetQueryValueDefinitionRequestArray) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestArrayOutput) } -type powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs +type PowerpackWidgetQueryValueDefinitionRequestOutput struct{ *pulumi.OutputState } -func PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) +func (PowerpackWidgetQueryValueDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutput() PowerpackWidgetQueryValueDefinitionRequestOutput { + return o } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ToPowerpackWidgetQueryValueDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestOutput { + return o } -func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) ApmQuery() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) AuditQuery() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o +// 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) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Formulas() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) LogQuery() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +// 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) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) Queries() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) []PowerpackWidgetQueryValueDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) } -// 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 query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) RumQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// The query to use for this widget. +func (o PowerpackWidgetQueryValueDefinitionRequestOutput) SecurityQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequest) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutput() PowerpackWidgetQueryValueDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery +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 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"` +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput +} + +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 (PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput +} + +type powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs + +func PowerpackWidgetQueryValueDefinitionRequestApmQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType)(v) +} + +func (*powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +} + +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) +} + +// `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) +} + +// 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 name of the index to query. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) 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 { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQuery) PowerpackWidgetQueryValueDefinitionRequestApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestApmQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *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.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *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.Facet + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) +} + +// 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.Index }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *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.Order + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +// 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.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute struct { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -34768,18 +34903,18 @@ type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -34788,1261 +34923,1222 @@ type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { return o } +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) +} + // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput { 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryOutput) } -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 PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput` via: +// 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) +} + +// 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: // -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput } -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 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 (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput { 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(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 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) } -// 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) +// 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) } -// 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// 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 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 (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupByArrayOutput { 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) +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) } -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 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"` } -// PowerpackWidgetQueryValueDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput } -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 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 (PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArray and PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestFormulaArray []PowerpackWidgetQueryValueDefinitionRequestFormulaInput +type powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func (i *powerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { - return o +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *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) +// 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 PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput { 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryOutput) } -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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *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 PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// 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.Order + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute 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"` } -// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs 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 (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +// 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 -func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return o -} +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeInput -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { - return o +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) } -// 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput 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 (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + 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 aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput { 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 PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestApmQueryMultiComputeOutput) } -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 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"` } -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput } -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 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 (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs +type powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// `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) } -// 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) +// 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 PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(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 (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestFormulaLimit + var ret PowerpackWidgetQueryValueDefinitionRequestAuditQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { +// `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.Count - }).(pulumi.IntPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } -// 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 { +// 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.Order + 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) } -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"` +// `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) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput` via: +// 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: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput } -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"` +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 (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs +type powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestFormulaStyle + var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *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 PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *int { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } - return v.PaletteIndex + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// 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 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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput -} - -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 (PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Background()) +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"` } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput } -type powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByInput -func (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) +// 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) } -// `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) +// 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) } -// 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) -} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// 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 (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -// `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) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return o } -// 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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupByArrayOutput { + return o } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() +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 PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o +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"` } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { - return o +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) PowerpackWidgetQueryValueDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestLogQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) +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"` } -// `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.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -// 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.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) -} - -// 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.Index - }).(pulumi.StringPtrOutput) -} - -// `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.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) -} - -// 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.SearchQuery - }).(pulumi.StringPtrOutput) -} - -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"` -} - -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput -} - -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 (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) 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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *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) +// 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 PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -36051,8 +36147,8 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -36060,2699 +36156,2371 @@ func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *int { +// 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.Interval - }).(pulumi.IntPtrOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy struct { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute 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 *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs struct { +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs 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 PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeInput -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(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) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput { 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 PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute { + return vs[0].([]PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetQueryValueDefinitionRequestAuditQueryMultiComputeOutput) } -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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs and PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput } -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"` +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"` } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} +// 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 -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { - pulumi.Input +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestConditionalFormatInput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() } -type powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +} -func PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func (i PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) } -func (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return o } -func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput { + return o } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +// 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 PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o +// 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) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o +// Setting this to True hides values. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Displays an image as the background. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(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 PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(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) +// A value for the comparator. +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) +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 aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(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"` } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) +// PowerpackWidgetQueryValueDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput } -// 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) +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 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"` +func (PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) +} + +// PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaArray and PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput } -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"` +type PowerpackWidgetQueryValueDefinitionRequestFormulaArray []PowerpackWidgetQueryValueDefinitionRequestFormulaInput + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() } -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) +type PowerpackWidgetQueryValueDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormula)(nil)).Elem() } -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput` via: +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return o +} + +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaOutput { + return o +} + +// An expression alias. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +} + +// 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) +} + +// 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) +} + +// 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 options for limiting results returned. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaOutput) Limit() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormula) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) +} + +// 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 PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaArrayOutput { + 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: // -// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput +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 (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) } -type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayInput interface { + pulumi.Input -func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatInput + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) +} + +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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 PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput 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 (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(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 PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { +// 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) +} + +// 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) +} + +// Defines the displayed timeframe. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +} + +// A value for the comparator. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +} + +type PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaConditionalFormatArrayOutput { 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 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 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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput } -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"` +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 (PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr and PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs +type powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs -func PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimitArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) -} - -// A list of processes. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []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) + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The number of results to return. +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) PowerpackWidgetQueryValueDefinitionRequestProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestFormulaLimit) PowerpackWidgetQueryValueDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestProcessQuery + var ret PowerpackWidgetQueryValueDefinitionRequestFormulaLimit return ret - }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaLimitOutput) } -// A list of processes. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { +// 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.FilterBies - }).(pulumi.StringArrayOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) -} - -// Your chosen metric. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) -} - -// Your chosen search term. -func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy + return v.Order }).(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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs and PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput } -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"` +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 (PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArray and PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs, PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr and PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryArray{ PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryArray []PowerpackWidgetQueryValueDefinitionRequestQueryInput +type powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs -func (PowerpackWidgetQueryValueDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtr(v *PowerpackWidgetQueryValueDefinitionRequestFormulaStyleArgs) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput { 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) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestFormulaStyle) *PowerpackWidgetQueryValueDefinitionRequestFormulaStyle { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) +// 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) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) +// 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) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) -} +type PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -// The process query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) +func (PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestFormulaStyle)(nil)).Elem() } -// The SLO query using formulas and functions. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o } -type PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() +func (o PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestFormulaStylePtrOutput { + return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - 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) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { - return o +// 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) } -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) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestLogQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) 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 { - 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) -} - -// Name of operation on service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) } -// 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) +// `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) } -// 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) +// 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) } -// APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// 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) } -// APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.Service - }).(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 { + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) } -// 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) +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQuery) PowerpackWidgetQueryValueDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetQueryValueDefinitionRequestLogQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { +// `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.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -// 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 { +// 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.DataSource - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) } -// APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *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.Env + return &v.Index }).(pulumi.StringPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *bool { +// `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.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// 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) + return v.MultiComputes + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) } -// 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 { +// 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.Stat + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) 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 { - 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) -} - -// Name of operation on service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *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 { - 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 { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) } -// APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.Env + return v.Facet }).(pulumi.StringPtrOutput) } -// 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) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *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.Name - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// 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) +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"` } -// 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) -} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput interface { + pulumi.Input -// 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 - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput } -// APM resource. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) +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"` } -// APM service. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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.Stat - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return o } -type powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput { + return o +} -func PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType)(v) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +// 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 (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// 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) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(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) -} - -// 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) -} - -// The cloud cost query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// 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 PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) -} - -// 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) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) +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 PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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 (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs +type powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -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 - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// 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) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { return v.Storage }).(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) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery + var ret PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(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 - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// 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.Indexes - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { +// 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.Storage + return &v.Order }).(pulumi.StringPtrOutput) } -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`. +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute 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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput } -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`. +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs 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 (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeInput -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput { 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) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(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) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestLogQueryMultiComputeArrayOutput { 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 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 PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. +type PowerpackWidgetQueryValueDefinitionRequestProcessQuery struct { + // A list of processes. + FilterBies []string `pulumi:"filterBies"` + // The max number of items in the filter list. Limit *int `pulumi:"limit"` - // The options for sorting group by results. - Sort *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` + // Your chosen metric. + Metric string `pulumi:"metric"` + // Your chosen search term. + SearchBy *string `pulumi:"searchBy"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. +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"` - // The options for sorting group by results. - Sort PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` -} - -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) -} - -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput - -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { - return o -} - -// The event facet. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) 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) -} - -// The options for sorting group by results. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o -} - -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { - 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) -} - -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 metric used for sorting group by results. - Metric *string `pulumi:"metric"` - // Direction of sort. Valid values are `asc`, `desc`. - Order *string `pulumi:"order"` -} - -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput -} - -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 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"` + // Your chosen metric. + Metric pulumi.StringInput `pulumi:"metric"` + // Your chosen search term. + SearchBy pulumi.StringPtrInput `pulumi:"searchBy"` } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestProcessQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) } -// 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) +// A list of processes. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// 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) +// 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) } -// 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) +// Your chosen metric. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +// Your chosen search term. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) PowerpackWidgetQueryValueDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetQueryValueDefinitionRequestProcessQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestProcessQueryOutput) } -// 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 { +// A list of processes. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { +// 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.Metric + return v.Limit + }).(pulumi.IntPtrOutput) +} + +// Your chosen metric. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *string { +// Your chosen search term. +func (o PowerpackWidgetQueryValueDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return v.Order + return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput -} - -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} - -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +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 (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryArray and PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryArray{ PowerpackWidgetQueryValueDefinitionRequestQueryArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestQueryArray []PowerpackWidgetQueryValueDefinitionRequestQueryInput -func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// 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) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) +// 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 events search string. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// A timeseries formula and functions events query. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { - return o +// The process query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) } -// 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) +type PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQuery)(nil)).Elem() } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` +func (o PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryArrayOutput { + return o } -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput` via: +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 PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` +} + +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput } -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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for metrics queries. Defaults to `"metrics"`. - DataSource pulumi.StringPtrInput `pulumi:"dataSource"` - // The name of the query for use in formulas. + // 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"` - // The metrics query definition. - Query pulumi.StringInput `pulumi:"query"` + // 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 (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// 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 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) +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(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) +// 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) } -// The metrics query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +// Name of operation on service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(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 PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { +// 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 PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// 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 { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Aggregator + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *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.CrossOrgUuids + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmDependencyStatsQuery) *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 PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +// 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.IsUpstream + }).(pulumi.BoolPtrOutput) +} + +// 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 } @@ -38760,529 +38528,583 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Nam }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { +// 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.Query + return &v.OperationName }).(pulumi.StringPtrOutput) } -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 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +// 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) +} + +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // 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"` + // 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"` } -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput } -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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // 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"` + // 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 (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) -} - -// 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) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(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) +// 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) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// The number of hits to return. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// 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) } -// The process metric name. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// 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) } -// 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) +// Name of operation on service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// 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) +// 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) } -// 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) +// APM resource. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +// APM service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() +// 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 PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { +type PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryOutput) } -// 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 { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Aggregator + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +// 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.CrossOrgUuids + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +// APM environment. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *bool { +// 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.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(pulumi.StringArrayOutput) } -// The number of hits to return. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +// 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.Metric + return v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *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 PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Name + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// 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 { +// 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 } - return v.Sort + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) []string { +// APM resource. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { +// APM service. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.TextFilter + return &v.Service }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` +// 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.Stat + }).(pulumi.StringPtrOutput) +} + +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for cloud cost queries. Valid values are `cloudCost`. 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for cloud cost queries. Valid values are `cloudCost`. 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + // 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 (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) } -// 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) +// 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) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(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) -} - -// 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) -} - -// 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 PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// ID of an SLO to query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) string { return v.SloId }).(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) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +// The cloud cost query definition. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +// 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.AdditionalQueryFilters + return v.Aggregator }).(pulumi.StringPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } @@ -39290,9 +39112,9 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) CrossO }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +// 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 } @@ -39300,717 +39122,684 @@ func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) DataSo }).(pulumi.StringPtrOutput) } -// 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) -} - -// 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) -} - -// 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) -} - -// ID of an SLO to query. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +// 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.SloId + return &v.Name }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { +// 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.SloQueryType + return &v.Query }).(pulumi.StringPtrOutput) } -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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput } -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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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 (PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) } -// `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 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +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 - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// 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) +// 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) +// 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput 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 (PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) PowerpackWidgetQueryValueDefinitionRequestRumQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestRumQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { +// The compute options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) + return v.Computes + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +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 - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute { +// The search options. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) + return v.Search + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery 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"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput } -type powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeInput -func (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) -} - -// 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) -} - -// 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) -} - -// 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 (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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy 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 *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByInput -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput { return o } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupByArrayOutput { 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 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery 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"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs 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 (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *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 } @@ -40018,5333 +39807,5296 @@ func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *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 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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput } -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"` +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) } -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput` 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: // -// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput { 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) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch) PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearch + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestQueryEventQuerySearchOutput) } -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"` +// 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) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput` 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) } -// `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 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) } -// 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) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 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) } -// `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 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) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { +// 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.Index + return v.DataSource }).(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 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.MultiComputes - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *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.SearchQuery + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery 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 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs 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 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) 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 PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(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) +// 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) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +// 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { +// The process metric name. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) 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) +} + +// 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) +} + +// 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { +// 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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *int { +// 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.Interval - }).(pulumi.IntPtrOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -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"` +// 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.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -// 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 +// 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) +} - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput +// 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) } -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"` +// 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.Name + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// 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.Sort + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) +// 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) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput` via: +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. 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: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` +} -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return o +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs, PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr and PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput` via: +// +// PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { - return o +type powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs + +func PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryArgs) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType)(v) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (*powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -// 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 (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { 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 PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -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"` +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input +// 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) +} - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -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"` +// 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 (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// 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 (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) +// 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(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 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: -// -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput -} - -type powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) -} - -func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} - -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet +// 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) } -// 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// 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 (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v +// 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 } - var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) + return &v.Measure + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// 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.Aggregation + return v.Name }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// 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.Facet + return &v.SloId }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetQueryValueDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.Order + return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute 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 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"` } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs 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 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 (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) } -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput +type powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestRumQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType)(v) } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) +} -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// `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) } -type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +// 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { +// `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) +} + +// The search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput { 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) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQuery) PowerpackWidgetQueryValueDefinitionRequestRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestRumQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryOutput) } -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"` +// `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.ComputeQuery + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput` via: +// 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.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) +} + +// `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.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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery 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"` +} + +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput } -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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput).ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs, PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs +type powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput { - return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) } -// 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { - return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) PowerpackWidgetQueryValueDefinitionTimeseriesBackground { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackground + var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryOutput) } -// 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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *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 PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryComputeQuery) *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"` +// 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) } -// 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 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 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"` -} +// 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 (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Background()) +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 (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput).ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs, PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput` via: -// -// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} -// -// or: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput - ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput } -type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs - -func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput { - return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType)(v) -} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByInput -func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { - return &v - }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// 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) +// 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) } -type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupByArrayOutput { 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) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// 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) -} - -// 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) +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 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"` +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery 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"` } -// PowerpackWidgetRunWorkflowDefinitionInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs and PowerpackWidgetRunWorkflowDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetRunWorkflowDefinitionArgs{...} -type PowerpackWidgetRunWorkflowDefinitionInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput - ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput } -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"` +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs 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 (PowerpackWidgetRunWorkflowDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput).ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetRunWorkflowDefinitionPtrInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs, PowerpackWidgetRunWorkflowDefinitionPtr and PowerpackWidgetRunWorkflowDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetRunWorkflowDefinitionArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetRunWorkflowDefinitionPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput - ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetRunWorkflowDefinitionPtrType PowerpackWidgetRunWorkflowDefinitionArgs +type powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetRunWorkflowDefinitionPtr(v *PowerpackWidgetRunWorkflowDefinitionArgs) PowerpackWidgetRunWorkflowDefinitionPtrInput { - return (*powerpackWidgetRunWorkflowDefinitionPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetRunWorkflowDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return o.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetRunWorkflowDefinition) *PowerpackWidgetRunWorkflowDefinition { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) -} - -// 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) -} - -// 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 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) -} - -// The title of the widget. -func (o PowerpackWidgetRunWorkflowDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Workflow ID -func (o PowerpackWidgetRunWorkflowDefinitionOutput) WorkflowId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) string { return v.WorkflowId }).(pulumi.StringOutput) +// 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 PowerpackWidgetRunWorkflowDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Elem() PowerpackWidgetRunWorkflowDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) PowerpackWidgetRunWorkflowDefinition { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetRunWorkflowDefinition + var ret PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetRunWorkflowDefinitionOutput) -} - -// 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.CustomLinks - }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryOutput) } -// Array of workflow inputs to map to dashboard template variables. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Inputs() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) []PowerpackWidgetRunWorkflowDefinitionInputType { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Inputs - }).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) + return &v.Aggregation + }).(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 { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestRumQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.LiveSpan + return v.Facet }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { +// 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.Title + return &v.Order }).(pulumi.StringPtrOutput) } -// 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.TitleAlign - }).(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"` } -// 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) -} - -// 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: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} -type PowerpackWidgetRunWorkflowDefinitionCustomLinkInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput } -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"` +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 (PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArray and PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetRunWorkflowDefinitionCustomLinkArray{ PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput - ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkArray []PowerpackWidgetRunWorkflowDefinitionCustomLinkInput +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput { 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) -} - -// 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) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The URL of the custom link. -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute) *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 PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionCustomLink) *string { return v.OverrideLabel }).(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 PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestRumQueryMultiComputeArrayOutput { 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 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 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 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"` } -// PowerpackWidgetRunWorkflowDefinitionInputTypeInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArgs and PowerpackWidgetRunWorkflowDefinitionInputTypeOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} -type PowerpackWidgetRunWorkflowDefinitionInputTypeInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput - ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput } -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 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 (PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) } -// PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArray and PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput` via: +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetRunWorkflowDefinitionInputTypeArray{ PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput - ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArray []PowerpackWidgetRunWorkflowDefinitionInputTypeInput +type powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs -func (PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType)(v) } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetRunWorkflowDefinitionInputTypeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) +} -func (PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { 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) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { + return &v + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput struct{ *pulumi.OutputState } +// `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) +} -func (PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +// 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) } -func (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { +// 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) +} + +// `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 search query to use. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} + +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 PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput { 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQuery + return ret + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryOutput) } -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"` +// `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) } -// PowerpackWidgetScatterplotDefinitionInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs and PowerpackWidgetScatterplotDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionInput` via: +// 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) +} + +// 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) +} + +// `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.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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery 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"` +} + +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionArgs{...} -type PowerpackWidgetScatterplotDefinitionInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput - ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput } -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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { - return i.ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput).ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs, PowerpackWidgetScatterplotDefinitionPtr and PowerpackWidgetScatterplotDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput - ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionPtrType PowerpackWidgetScatterplotDefinitionArgs +type powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionPtr(v *PowerpackWidgetScatterplotDefinitionArgs) PowerpackWidgetScatterplotDefinitionPtrInput { - return (*powerpackWidgetScatterplotDefinitionPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinition { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// List of groups used for colors. -func (o PowerpackWidgetScatterplotDefinitionOutput) ColorByGroups() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) []string { return v.ColorByGroups }).(pulumi.StringArrayOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// 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) -} - -// 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) -} - -// 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) -} - -// The title of the widget. -func (o PowerpackWidgetScatterplotDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) -} - -// 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) -} - -// 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) -} - -// 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { 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 PowerpackWidgetScatterplotDefinitionOutput) Yaxis() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinitionYaxis { - return v.Yaxis - }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) PowerpackWidgetScatterplotDefinition { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinition + var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionOutput) -} - -// 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) -} - -// 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) -} - -// 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 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) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *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 PowerpackWidgetScatterplotDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) *string { +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.Facet }).(pulumi.StringPtrOutput) } -// 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) -} - -// 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 { +// 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.Yaxis - }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -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"` +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"` } -// PowerpackWidgetScatterplotDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArgs and PowerpackWidgetScatterplotDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} -type PowerpackWidgetScatterplotDefinitionCustomLinkInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput - ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput } -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 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 (PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArray and PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionCustomLinkArray{ PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} } -type PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput - ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionCustomLinkArray []PowerpackWidgetScatterplotDefinitionCustomLinkInput +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput { 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) -} - -// 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) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// 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 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) +// 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 PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupByArrayOutput { 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 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 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 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"` } -// PowerpackWidgetScatterplotDefinitionRequestInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs and PowerpackWidgetScatterplotDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput - ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput } -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 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 (PowerpackWidgetScatterplotDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput).ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs, PowerpackWidgetScatterplotDefinitionRequestPtr and PowerpackWidgetScatterplotDefinitionRequestPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestPtrInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestArgs{...} +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestPtrInput interface { +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestPtrType PowerpackWidgetScatterplotDefinitionRequestArgs +type powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestPtr(v *PowerpackWidgetScatterplotDefinitionRequestArgs) PowerpackWidgetScatterplotDefinitionRequestPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestPtrType)(v) +func PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (*powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) +func (i *powerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequest) *PowerpackWidgetScatterplotDefinitionRequest { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) 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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *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) +// 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 PowerpackWidgetScatterplotDefinitionRequestPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) PowerpackWidgetScatterplotDefinitionRequest { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequest + var ret PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestOutput) + }).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// Scatterplot request containing formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ScatterplotTables() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionRequestSecurityQueryGroupBySortQuery) *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 { +// 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.Ys - }).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTable struct { - Formulas []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula `pulumi:"formulas"` - Queries []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery `pulumi:"queries"` +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs struct { - Formulas PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput `pulumi:"formulas"` - Queries PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput `pulumi:"queries"` +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Background()) -} +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +} -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput` via: +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput interface { +// PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) +func (i PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Formulas() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula { - return v.Formulas - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) +// The aggregation method. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Queries() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery { - return v.Queries - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) +// The facet name. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionRequestSecurityQueryMultiComputeArrayOutput { 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 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 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 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput` via: +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput is an input type that accepts PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs and PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput values. +// You can construct a concrete instance of `PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput interface { +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput } -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 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput` via: +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: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput interface { +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput +type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrInput { + return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { 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 PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(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 PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackground) *PowerpackWidgetQueryValueDefinitionTimeseriesBackground { + return &v + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackground)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput { return o } -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 (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackground) PowerpackWidgetQueryValueDefinitionTimeseriesBackground { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackground + return ret + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundOutput) } -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"` +// 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.Type + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput` via: +// 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: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput interface { +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput } -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"` +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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) +func (i PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput` via: +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: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput interface { +// PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs{...} +// +// or: +// +// nil +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput + ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput +type powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +func PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtr(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisArgs) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrInput { + return (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return i.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrType) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { return o } -// 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 PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return o.ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { + return &v + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) CloudCostQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) +// 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) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) EventQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) +// 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) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) MetricQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) +// 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) } -// The process query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) +// 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) } -// The SLO query using formulas and functions. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) SloQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) +// 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() +func (PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { +func (o PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) ToPowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput { 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 PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisPtrOutput) Elem() PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis) PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxis + return ret + }).(PowerpackWidgetQueryValueDefinitionTimeseriesBackgroundYaxisOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` +// 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) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput +// 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) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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"` +// 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(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 + } + return v.Min + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) +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"` } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +// PowerpackWidgetRunWorkflowDefinitionInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs and PowerpackWidgetRunWorkflowDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInput` via: +// +// PowerpackWidgetRunWorkflowDefinitionArgs{...} +type PowerpackWidgetRunWorkflowDefinitionInput interface { + pulumi.Input + + ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput + ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionOutput } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput` via: +func (PowerpackWidgetRunWorkflowDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() +} + +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput) +} + +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetRunWorkflowDefinitionArgs) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionOutput).ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetRunWorkflowDefinitionPtrInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionArgs, PowerpackWidgetRunWorkflowDefinitionPtr and PowerpackWidgetRunWorkflowDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetRunWorkflowDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetRunWorkflowDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput + ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs +type powerpackWidgetRunWorkflowDefinitionPtrType PowerpackWidgetRunWorkflowDefinitionArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetRunWorkflowDefinitionPtr(v *PowerpackWidgetRunWorkflowDefinitionArgs) PowerpackWidgetRunWorkflowDefinitionPtrInput { + return (*powerpackWidgetRunWorkflowDefinitionPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetRunWorkflowDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetRunWorkflowDefinitionPtrType) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetRunWorkflowDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutput() PowerpackWidgetRunWorkflowDefinitionOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return o.ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { +func (o PowerpackWidgetRunWorkflowDefinitionOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetRunWorkflowDefinition) *PowerpackWidgetRunWorkflowDefinition { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) + }).(PowerpackWidgetRunWorkflowDefinitionPtrOutput) } -// 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) +// 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) } -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +// 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 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) +// 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) } -// 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) +// The title of the widget. +func (o PowerpackWidgetRunWorkflowDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// 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) } -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) +// 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) } -// 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) +// Workflow ID +func (o PowerpackWidgetRunWorkflowDefinitionOutput) WorkflowId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinition) string { return v.WorkflowId }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetRunWorkflowDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetRunWorkflowDefinition)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutput() PowerpackWidgetRunWorkflowDefinitionPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) ToPowerpackWidgetRunWorkflowDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) Elem() PowerpackWidgetRunWorkflowDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) PowerpackWidgetRunWorkflowDefinition { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery + var ret PowerpackWidgetRunWorkflowDefinition return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) + }).(PowerpackWidgetRunWorkflowDefinitionOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *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.Name - }).(pulumi.StringPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) } -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// 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.OperationName - }).(pulumi.StringPtrOutput) + return v.Inputs + }).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) } -// 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 { +// 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.PrimaryTagName + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// 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 { +// 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.PrimaryTagValue + return v.Title }).(pulumi.StringPtrOutput) } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *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.ResourceName + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { +// 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.Service + return v.TitleSize }).(pulumi.StringPtrOutput) } -// 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 { +// Workflow ID +func (o PowerpackWidgetRunWorkflowDefinitionPtrOutput) WorkflowId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetRunWorkflowDefinition) *string { if v == nil { return nil } - return &v.Stat + return &v.WorkflowId }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetRunWorkflowDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs and PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} +type PowerpackWidgetRunWorkflowDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} -// -// or: +// PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionCustomLinkArray and PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput` via: // -// nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput interface { +// PowerpackWidgetRunWorkflowDefinitionCustomLinkArray{ PowerpackWidgetRunWorkflowDefinitionCustomLinkArgs{...} } +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput + ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType)(v) -} +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArray []PowerpackWidgetRunWorkflowDefinitionCustomLinkInput -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) +func (i PowerpackWidgetRunWorkflowDefinitionCustomLinkArray) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) +// 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) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(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) } -// 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) +// 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) } -// APM environment. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.Env - }).(pulumi.StringOutput) -} +type PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -// 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 (PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionCustomLink)(nil)).Elem() } -// 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 (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput() PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + return o } -// Name of operation on service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionCustomLinkArrayOutput { + 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +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) } -// 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) +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"` } -// APM resource. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetRunWorkflowDefinitionInputTypeInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArgs and PowerpackWidgetRunWorkflowDefinitionInputTypeOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeInput` via: +// +// PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} +type PowerpackWidgetRunWorkflowDefinitionInputTypeInput interface { + pulumi.Input -// APM service. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) + ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput + ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput } -// 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 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +func (PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArgs) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { - return o +// PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput is an input type that accepts PowerpackWidgetRunWorkflowDefinitionInputTypeArray and PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput` via: +// +// PowerpackWidgetRunWorkflowDefinitionInputTypeArray{ PowerpackWidgetRunWorkflowDefinitionInputTypeArgs{...} } +type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput + ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) +type PowerpackWidgetRunWorkflowDefinitionInputTypeArray []PowerpackWidgetRunWorkflowDefinitionInputTypeInput + +func (PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return i.ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetRunWorkflowDefinitionInputTypeArray) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) } -// 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) +type PowerpackWidgetRunWorkflowDefinitionInputTypeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetRunWorkflowDefinitionInputType)(nil)).Elem() } -// 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) +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + return o } -// 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 PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeOutput { + 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) +// Name of the workflow input. +func (o PowerpackWidgetRunWorkflowDefinitionInputTypeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetRunWorkflowDefinitionInputType) string { return v.Name }).(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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// 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) } -// 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) +type PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetRunWorkflowDefinitionInputType)(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 (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput() PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return o } -// 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 (o PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput) ToPowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutputWithContext(ctx context.Context) PowerpackWidgetRunWorkflowDefinitionInputTypeArrayOutput { + return o } -// 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) +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) } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput` via: +// PowerpackWidgetScatterplotDefinitionInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs and PowerpackWidgetScatterplotDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput interface { +// PowerpackWidgetScatterplotDefinitionArgs{...} +type PowerpackWidgetScatterplotDefinitionInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput + ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionOutput } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { + return i.ToPowerpackWidgetScatterplotDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionArgs) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionOutput).ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionArgs, PowerpackWidgetScatterplotDefinitionPtr and PowerpackWidgetScatterplotDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs +type powerpackWidgetScatterplotDefinitionPtrType PowerpackWidgetScatterplotDefinitionArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionPtr(v *PowerpackWidgetScatterplotDefinitionArgs) PowerpackWidgetScatterplotDefinitionPtrInput { + return (*powerpackWidgetScatterplotDefinitionPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionPtrType) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinition)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutput() PowerpackWidgetScatterplotDefinitionOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { +func (o PowerpackWidgetScatterplotDefinitionOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinition) *PowerpackWidgetScatterplotDefinition { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionPtrOutput) } -// 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) +// List of groups used for colors. +func (o PowerpackWidgetScatterplotDefinitionOutput) ColorByGroups() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) []string { return v.ColorByGroups }).(pulumi.StringArrayOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// 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) } -// 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) +// 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) } -// 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) +// 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) } -// The cloud cost query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) string { - return v.Query - }).(pulumi.StringOutput) +// The title of the widget. +func (o PowerpackWidgetScatterplotDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() +// 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { +// 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) +} + +// 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) +} + +type PowerpackWidgetScatterplotDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutput() PowerpackWidgetScatterplotDefinitionPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) ToPowerpackWidgetScatterplotDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { +func (o PowerpackWidgetScatterplotDefinitionPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinition) PowerpackWidgetScatterplotDefinition { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery + var ret PowerpackWidgetScatterplotDefinition return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionOutput) } -// 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 { +// 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.Aggregator - }).(pulumi.StringPtrOutput) + return v.ColorByGroups + }).(pulumi.StringArrayOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { +// 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.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) } -// 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 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.DataSource + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { +// 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.Name + return v.Request + }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) +} + +// 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) } -// The cloud cost query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { +// 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.Query + return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +// 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) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput interface { - pulumi.Input +// 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) +} - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput +// 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) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() +// PowerpackWidgetScatterplotDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArgs and PowerpackWidgetScatterplotDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkInput` via: +// +// PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} +type PowerpackWidgetScatterplotDefinitionCustomLinkInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) +func (PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArgs) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionCustomLinkArray and PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput` via: // -// nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput interface { +// PowerpackWidgetScatterplotDefinitionCustomLinkArray{ PowerpackWidgetScatterplotDefinitionCustomLinkArgs{...} } +type PowerpackWidgetScatterplotDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput + ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs +type PowerpackWidgetScatterplotDefinitionCustomLinkArray []PowerpackWidgetScatterplotDefinitionCustomLinkInput -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType)(v) +func (PowerpackWidgetScatterplotDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionCustomLinkArray) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) +type PowerpackWidgetScatterplotDefinitionCustomLinkOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutput() PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return o +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkOutput { + return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { +// 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 label for the custom link URL. +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// The URL of the custom link. +func (o PowerpackWidgetScatterplotDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *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 PowerpackWidgetScatterplotDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionCustomLink)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput() PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput) ToPowerpackWidgetScatterplotDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) +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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) +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"` } -// The compute options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Computes() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) +// PowerpackWidgetScatterplotDefinitionRequestInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs and PowerpackWidgetScatterplotDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput + ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +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"` } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +func (PowerpackWidgetScatterplotDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() } -// Group by options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(context.Background()) } -// 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 (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput) } -// 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 (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) } -// The search options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestArgs) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestOutput).ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx) } -// Storage location (private beta). -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - return v.Storage - }).(pulumi.StringPtrOutput) +// PowerpackWidgetScatterplotDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestArgs, PowerpackWidgetScatterplotDefinitionRequestPtr and PowerpackWidgetScatterplotDefinitionRequestPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestPtrInput` via: +// +// PowerpackWidgetScatterplotDefinitionRequestArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestPtrInput interface { + pulumi.Input + + ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type powerpackWidgetScatterplotDefinitionRequestPtrType PowerpackWidgetScatterplotDefinitionRequestArgs -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestPtr(v *PowerpackWidgetScatterplotDefinitionRequestArgs) PowerpackWidgetScatterplotDefinitionRequestPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestPtrType)(v) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { +func (*powerpackWidgetScatterplotDefinitionRequestPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +} + +func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) +} + +func (i *powerpackWidgetScatterplotDefinitionRequestPtrType) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutput() PowerpackWidgetScatterplotDefinitionRequestOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(context.Background()) } -// 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 (o PowerpackWidgetScatterplotDefinitionRequestOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequest) *PowerpackWidgetScatterplotDefinitionRequest { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// Scatterplot request containing formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestOutput) ScatterplotTables() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequest) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTable { + return v.ScatterplotTables + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(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) } -// Group by options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) +// 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) } -// 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 +type PowerpackWidgetScatterplotDefinitionRequestPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutput() PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestPtrOutput { + return o +} + +func (o PowerpackWidgetScatterplotDefinitionRequestPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequest) PowerpackWidgetScatterplotDefinitionRequest { + if v != nil { + return *v } - return v.Indexes - }).(pulumi.StringArrayOutput) + var ret PowerpackWidgetScatterplotDefinitionRequest + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *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.Name - }).(pulumi.StringPtrOutput) + return v.ScatterplotTables + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) } -// The search options. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { +// 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.Search - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) + return v.Xes + }).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *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.Storage - }).(pulumi.StringPtrOutput) + return v.Ys + }).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) } -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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTable struct { + Formulas []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula `pulumi:"formulas"` + Queries []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery `pulumi:"queries"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput } -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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs struct { + Formulas PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput `pulumi:"formulas"` + Queries PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput `pulumi:"queries"` } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableInput -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Background()) -} +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(context.Background()) +} -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput { 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Formulas() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula { + return v.Formulas + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute) *string { - return v.Metric - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableOutput) Queries() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTable) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery { + return v.Queries + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTable)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableArrayOutput { return o } -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 (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 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"` +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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput } -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 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaInput -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput { return o } -// The event facet. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) string { - return v.Facet - }).(pulumi.StringOutput) +// An expression alias. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// The number of groups to return. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *int { - return v.Limit - }).(pulumi.IntPtrOutput) +// 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 options for sorting group by results. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Sort() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) +// 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) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormula)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableFormulaArrayOutput { 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 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 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`. - Order *string `pulumi:"order"` +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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput -} - -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`. - Order pulumi.StringPtrInput `pulumi:"order"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput` via: // -// nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs - -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryInput -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) +// 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) } -// 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 Cloud Cost query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) CloudCostQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) } -// 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) +// A timeseries formula and functions events query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) EventQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) } -// 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) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) MetricQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() +// The process query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) ProcessQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o +// The SLO query using formulas and functions. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryOutput) SloQuery() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { - return o -} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput struct{ *pulumi.OutputState } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuery)(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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return o } -// 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.Metric - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryArrayOutput { + return o } -// 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 - }).(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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) -} - -// The events search string. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) string { - return v.Query - }).(pulumi.StringOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) } -// The events search string. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids }).(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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput -} - -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +// 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) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Background()) +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.Env + }).(pulumi.StringOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) +// 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) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx) +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput +// 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) } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType)(v) +// 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) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) +// 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) -} - -// 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) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 +// 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) } -// 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 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() +// 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { - if v != nil { - return *v +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) + return &v.OperationName + }).(pulumi.StringPtrOutput) } -// 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 { +// 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.Aggregator + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// 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.CrossOrgUuids + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.DataSource + return &v.ResourceName }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Service }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { +// 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.Query + return &v.Stat }).(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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // 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"` + // 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"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput } -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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // 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"` + // 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) -} - -// 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) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { +// 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) } -// 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 number of hits to return. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *int { - return v.Limit - }).(pulumi.IntPtrOutput) +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.Env + }).(pulumi.StringOutput) } -// The process metric name. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { - return v.Metric - }).(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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// 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 +// Name of operation on service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + return v.OperationName }).(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) +// 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) } -// The text to use as a filter. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { - return v.TextFilter +// 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) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) string { + return v.Service + }).(pulumi.StringOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { +// 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Aggregator + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { +// 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.CrossOrgUuids + return &v.DataSource }).(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 { +// APM environment. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *bool { +// 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.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) + return v.GroupBies + }).(pulumi.StringArrayOutput) } -// The number of hits to return. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { +// 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.Metric + return v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Name + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// 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 { +// 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.Sort + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) []string { +// APM resource. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { +// APM service. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.TextFilter + return &v.Service }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` +// 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) +} + +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for cloud cost queries. Valid values are `cloudCost`. 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + // The name of the query for use in formulas. + Name string `pulumi:"name"` + // The cloud cost query definition. + Query string `pulumi:"query"` } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` +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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for cloud cost queries. Valid values are `cloudCost`. 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`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + // 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 (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - return v.AdditionalQueryFilters +// 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) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(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 { +// 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) } -// 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) -} - -// 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) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// 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.StringPtrOutput) -} - -// ID of an SLO to query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) string { - return v.SloId }).(pulumi.StringOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { - return v.SloQueryType - }).(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) } -type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// 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.AdditionalQueryFilters + return v.Aggregator }).(pulumi.StringPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryCloudCostQuery) *string { if v == nil { return nil } @@ -45352,9 +45104,9 @@ func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery }).(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 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 } @@ -45362,878 +45114,708 @@ func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery }).(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 { - if v == nil { - return nil - } - return v.GroupMode - }).(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) -} - -// 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) -} - -// ID of an SLO to query. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// 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.SloId + return &v.Name }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { +// 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.SloQueryType + return &v.Query }).(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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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"` } -// PowerpackWidgetScatterplotDefinitionRequestXInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArgs and PowerpackWidgetScatterplotDefinitionRequestXOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput - ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput } -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 (PowerpackWidgetScatterplotDefinitionRequestXArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXOutput) -} - -// 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 - - ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput -} - -type PowerpackWidgetScatterplotDefinitionRequestXArray []PowerpackWidgetScatterplotDefinitionRequestXInput - -func (PowerpackWidgetScatterplotDefinitionRequestXArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { - 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) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { - return v.ApmQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { - return v.LogQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) -} - -// 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) -} - -// 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) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { - return v.RumQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { - 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) -} - -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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput -} - -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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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 (PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) } -// `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) +// 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +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 - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) } -// 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) +// 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) +// 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput 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 (PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXApmQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { +// The compute options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Computes() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) + return v.Computes + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) +} + +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +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 - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) } -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { +// The search options. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryPtrOutput) Search() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) + return v.Search + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) } -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery 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"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput` via: // -// nil -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput } -type powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeInput -func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) +// 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) 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) +// 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery - return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { - if v == nil { - return nil - } - return v.Facet - }).(pulumi.StringPtrOutput) -} - -// 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) +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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy 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 *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput { return o } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) +// The options for sorting group by results. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByOutput) Sort() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupByArrayOutput { 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 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery 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"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs 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 (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs -func PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// 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) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQueryGroupBySortOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *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 } @@ -46241,1330 +45823,1355 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *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 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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput } -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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { return o } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) } -// 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 events search string. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) string { + return v.Query + }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput { 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"` +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput` via: +// The events search string. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` +} + +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput } -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 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) } -// `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 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) } -// 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) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// `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 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 search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The metrics query definition. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) string { + return v.Query + }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXLogQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { +// 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.Index + return v.DataSource }).(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 { +// 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.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { +// The metrics query definition. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryMetricQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Query }).(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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput } -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 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) 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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { + return v.CrossOrgUuids + }).(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) +// 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() +// 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { +// The process metric name. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) string { + return v.Metric + }).(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 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) +} + +// 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 text to use as a filter. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { + return v.TextFilter + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { +// 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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { +// 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.Interval - }).(pulumi.IntPtrOutput) + return &v.DataSource + }).(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"` -} - -// 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 -} - -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"` -} - -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) -} - -// 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 -} - -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput - -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { - return o -} - -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *string { 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 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) +// 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.Limit + }).(pulumi.IntPtrOutput) } -// 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 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o +// 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { - return o +// 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 (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) +// 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) } -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"` +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput } -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 PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs, PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr and PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryArgs) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { - return v.Aggregation +// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { + return v.CrossOrgUuids + }).(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 facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { return v.Facet }).(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) } -// 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) +// 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput 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 (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { +// type of the SLO to query. Valid values are `metric`, `timeSlice`. 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { +// 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.Aggregation + return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestScatterplotTableQuerySloQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *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.Order + return &v.DataSource }).(pulumi.StringPtrOutput) } -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"` +// 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.GroupMode + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput +// 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 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"` +// 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) } -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() +// 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) } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Background()) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. 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 (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) +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"` } -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArgs and PowerpackWidgetScatterplotDefinitionRequestXOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput + ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput - -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() +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 (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (PowerpackWidgetScatterplotDefinitionRequestXArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetScatterplotDefinitionRequestXArgs) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXOutput) +} -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) 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) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { - 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) -} - -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"` -} - -// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXArray and PowerpackWidgetScatterplotDefinitionRequestXArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXArray{ PowerpackWidgetScatterplotDefinitionRequestXArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput -} - -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 (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx) + ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput } -// 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 +type PowerpackWidgetScatterplotDefinitionRequestXArray []PowerpackWidgetScatterplotDefinitionRequestXInput - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput +func (PowerpackWidgetScatterplotDefinitionRequestXArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -type powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs - -func PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType)(v) +func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(context.Background()) } -func (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestXArray) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) } -func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetScatterplotDefinitionRequestXOutput struct{ *pulumi.OutputState } -func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestXOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutput() PowerpackWidgetScatterplotDefinitionRequestXOutput { + return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ToPowerpackWidgetScatterplotDefinitionRequestXOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - 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 PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { + return v.ApmQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { + return v.LogQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// 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) } -// 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 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) } -// Your chosen metric. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { + return v.RumQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestXOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestX) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestX)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetScatterplotDefinitionRequestXProcessQuery - 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) -} - -// 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) -} - -// 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) -} - -// 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 PowerpackWidgetScatterplotDefinitionRequestXArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetScatterplotDefinitionRequestXOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetScatterplotDefinitionRequestX { + return vs[0].([]PowerpackWidgetScatterplotDefinitionRequestX)[vs[1].(int)] + }).(PowerpackWidgetScatterplotDefinitionRequestXOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) } // 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) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) 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 { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXRumQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXApmQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { if v == nil { return nil } @@ -47573,18 +47180,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Index() p } // `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 { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQuery) *string { if v == nil { return nil } @@ -47592,7 +47199,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -47601,18 +47208,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -47621,125 +47228,125 @@ type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { return v.Facet }).(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) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { if v == nil { return nil } @@ -47748,8 +47355,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *string { if v == nil { return nil } @@ -47758,8 +47365,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryComputeQuery) *int { if v == nil { return nil } @@ -47767,124 +47374,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy struct { +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 *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs struct { +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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput { 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 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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupByArrayOutput { 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 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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -47893,18 +47500,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -47913,127 +47520,127 @@ type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // 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) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -48042,8 +47649,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -48052,8 +47659,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -48061,7 +47668,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -48070,18 +47677,18 @@ type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -48090,284 +47697,284 @@ type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) 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) +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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXApmQueryMultiComputeArrayOutput { return o } -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) +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 PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute `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: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) } // `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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) } // 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) } // 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXLogQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryOutput) } // `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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { if v == nil { return nil } @@ -48376,18 +47983,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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQuery) *string { if v == nil { return nil } @@ -48395,7 +48002,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Sear }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -48404,18 +48011,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: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -48424,127 +48031,125 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { if v == nil { return nil } @@ -48553,8 +48158,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *string { if v == nil { return nil } @@ -48563,8 +48168,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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryComputeQuery) *int { if v == nil { return nil } @@ -48572,124 +48177,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy struct { +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 *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs struct { +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 PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput { 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupByArrayOutput { 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 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 PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -48698,18 +48303,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: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -48718,131 +48323,127 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryAr Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -48851,8 +48452,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuer } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -48861,8 +48462,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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -48870,7 +48471,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -48879,18 +48480,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: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -48899,447 +48500,478 @@ type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput { 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) 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 PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *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) +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXLogQueryMultiComputeArrayOutput { 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) +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) } -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"` +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"` } -// PowerpackWidgetScatterplotDefinitionRequestYInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArgs and PowerpackWidgetScatterplotDefinitionRequestYOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput - ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput } -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"` +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 (PowerpackWidgetScatterplotDefinitionRequestYArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArray and PowerpackWidgetScatterplotDefinitionRequestYArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYArrayInput` via: +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYArray{ PowerpackWidgetScatterplotDefinitionRequestYArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput } -type PowerpackWidgetScatterplotDefinitionRequestYArray []PowerpackWidgetScatterplotDefinitionRequestYInput +type powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs -func (PowerpackWidgetScatterplotDefinitionRequestYArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() +func PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType)(v) } -func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Background()) +func (*powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetScatterplotDefinitionRequestYOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() +func (i *powerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { - return o +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { 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) +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return o } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { - return v.ApmQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { - return v.LogQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { + return &v + }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) } -// 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) +// A list of processes. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// 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 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 query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { - return v.RumQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The query to use for this widget. -func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) +// Your chosen search term. +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput { 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 PowerpackWidgetScatterplotDefinitionRequestXProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXProcessQuery) PowerpackWidgetScatterplotDefinitionRequestXProcessQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionRequestXProcessQuery + return ret + }).(PowerpackWidgetScatterplotDefinitionRequestXProcessQueryOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQuery struct { +// 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 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) +} + +// 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) +} + +// 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) +} + +type PowerpackWidgetScatterplotDefinitionRequestXRumQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute `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: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) } // `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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) } // 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 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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) } // 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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYApmQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXRumQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryOutput) } // `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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { if v == nil { return nil } @@ -49348,18 +48980,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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQuery) *string { if v == nil { return nil } @@ -49367,7 +48999,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -49376,18 +49008,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: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -49396,125 +49028,125 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) 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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { if v == nil { return nil } @@ -49523,8 +49155,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *string { if v == nil { return nil } @@ -49533,8 +49165,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 PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryComputeQuery) *int { if v == nil { return nil } @@ -49542,124 +49174,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy struct { +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 *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs 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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupByArrayOutput { 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 (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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -49668,18 +49300,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -49688,127 +49320,127 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) 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) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *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) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -49817,8 +49449,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -49827,8 +49459,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXRumQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -49836,7 +49468,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -49845,18 +49477,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -49865,284 +49497,284 @@ type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) 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) +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 PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXRumQueryMultiComputeArrayOutput { 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) +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 PowerpackWidgetScatterplotDefinitionRequestYLogQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute `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: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) } // 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 (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) 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 { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYLogQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { if v == nil { return nil } @@ -50151,18 +49783,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Index() p } // `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 { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQuery) *string { if v == nil { return nil } @@ -50170,7 +49802,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -50179,18 +49811,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -50199,125 +49831,127 @@ type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} +// 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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) 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) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *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) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -50326,8 +49960,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -50336,8 +49970,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryComputeQuery) *int { if v == nil { return nil } @@ -50345,124 +49979,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy struct { +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 *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs struct { +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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *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) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *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 { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupByArrayOutput { 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) +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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -50471,18 +50105,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -50491,127 +50125,131 @@ type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) 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) +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 PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -50620,8 +50258,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -50630,8 +50268,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -50639,7 +50277,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -50648,18 +50286,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -50668,478 +50306,447 @@ type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) 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) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) *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) +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestXSecurityQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYArgs and PowerpackWidgetScatterplotDefinitionRequestYOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput + ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput } -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"` +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 (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYArgs) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) +// 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 } -func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx) +type PowerpackWidgetScatterplotDefinitionRequestYArray []PowerpackWidgetScatterplotDefinitionRequestYInput + +func (PowerpackWidgetScatterplotDefinitionRequestYArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -// 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 (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(context.Background()) } -func (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestYArray) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) } -func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetScatterplotDefinitionRequestYOutput struct{ *pulumi.OutputState } -func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutput() PowerpackWidgetScatterplotDefinitionRequestYOutput { + return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ToPowerpackWidgetScatterplotDefinitionRequestYOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { - 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) } -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) ApmQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { + return v.ApmQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) } -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { - return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) LogQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { + return v.LogQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) } -// A list of processes. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// 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 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) +// 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) } -// Your chosen metric. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) RumQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { + return v.RumQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetScatterplotDefinitionRequestYOutput) SecurityQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestY) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestY)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYArrayOutput { 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) +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 PowerpackWidgetScatterplotDefinitionRequestYRumQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute `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: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) } // 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) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) 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 { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYRumQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYApmQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { if v == nil { return nil } @@ -51148,18 +50755,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Index() p } // `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 { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQuery) *string { if v == nil { return nil } @@ -51167,7 +50774,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) SearchQue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -51176,18 +50783,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -51196,125 +50803,125 @@ type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) 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) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *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) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { if v == nil { return nil } @@ -51323,8 +50930,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *string { if v == nil { return nil } @@ -51333,8 +50940,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutpu } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *int { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryComputeQuery) *int { if v == nil { return nil } @@ -51342,124 +50949,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutpu }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy struct { +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 *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs struct { +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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupByArrayOutput { 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) +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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -51468,18 +51075,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery struct Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -51488,127 +51095,127 @@ type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs st Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) 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) +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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -51617,8 +51224,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrO } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -51627,8 +51234,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrO } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -51636,7 +51243,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrO }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -51645,18 +51252,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -51665,284 +51272,284 @@ type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs struct Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) 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) +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 PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYApmQueryMultiComputeArrayOutput { 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) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute `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: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) } // 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) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYLogQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) ComputeQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) GroupBies() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { if v == nil { return nil } @@ -51951,18 +51558,18 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Inde } // `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 { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) MultiComputes() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQuery) *string { if v == nil { return nil } @@ -51970,7 +51577,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Sear }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -51979,18 +51586,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery struc Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -51999,127 +51606,125 @@ type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) 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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { if v == nil { return nil } @@ -52128,8 +51733,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *string { if v == nil { return nil } @@ -52138,8 +51743,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr } // Define the time interval in seconds. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *int { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryComputeQuery) *int { if v == nil { return nil } @@ -52147,124 +51752,124 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy struct { +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 *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs struct { +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByInput -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByOutput) SortQuery() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupByArrayOutput { 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) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -52273,18 +51878,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery s Order string `pulumi:"order"` } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -52293,131 +51898,127 @@ type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryAr Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs +type powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs -func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) 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) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { - return v.Order - }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery + var ret PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -52426,8 +52027,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuer } // The facet name. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -52436,8 +52037,8 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuer } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYLogQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -52445,7 +52046,7 @@ func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuer }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -52454,18 +52055,18 @@ type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute struc Interval *int `pulumi:"interval"` } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs struct { +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -52474,1864 +52075,1776 @@ type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs s Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) } -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput` via: // -// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeInput -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) 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) +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 PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYLogQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetScatterplotDefinitionXaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionXaxisArgs and PowerpackWidgetScatterplotDefinitionXaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionXaxisInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionXaxisArgs{...} -type PowerpackWidgetScatterplotDefinitionXaxisInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput - ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput } -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"` +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 (PowerpackWidgetScatterplotDefinitionXaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { - return i.ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput).ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionXaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionXaxisArgs, PowerpackWidgetScatterplotDefinitionXaxisPtr and PowerpackWidgetScatterplotDefinitionXaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionXaxisPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionXaxisArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionXaxisPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput - ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionXaxisPtrType PowerpackWidgetScatterplotDefinitionXaxisArgs +type powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs -func PowerpackWidgetScatterplotDefinitionXaxisPtr(v *PowerpackWidgetScatterplotDefinitionXaxisArgs) PowerpackWidgetScatterplotDefinitionXaxisPtrInput { - return (*powerpackWidgetScatterplotDefinitionXaxisPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionXaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionXaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionXaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionXaxis) *PowerpackWidgetScatterplotDefinitionXaxis { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) } -// 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) +// A list of processes. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// 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 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) } -// 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) +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) string { return v.Metric }).(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) -} - -// 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) +// Your chosen search term. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionXaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionXaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) PowerpackWidgetScatterplotDefinitionXaxis { +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) PowerpackWidgetScatterplotDefinitionRequestYProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionXaxis + var ret PowerpackWidgetScatterplotDefinitionRequestYProcessQuery 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) + }).(PowerpackWidgetScatterplotDefinitionRequestYProcessQueryOutput) } -// The label of the axis to display on the graph. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *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.Label - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *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.Max - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *string { +// Your chosen metric. +func (o PowerpackWidgetScatterplotDefinitionRequestYProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYProcessQuery) *string { if v == nil { return nil } - return v.Min + return &v.Metric }).(pulumi.StringPtrOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) *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.Scale + return v.SearchBy }).(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"` +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"` } -// PowerpackWidgetScatterplotDefinitionYaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs and PowerpackWidgetScatterplotDefinitionYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput` via: // -// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} -type PowerpackWidgetScatterplotDefinitionYaxisInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput - ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput } -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"` +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 (PowerpackWidgetScatterplotDefinitionYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { - return i.ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) } -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput).ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetScatterplotDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs, PowerpackWidgetScatterplotDefinitionYaxisPtr and PowerpackWidgetScatterplotDefinitionYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput` via: // -// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetScatterplotDefinitionYaxisPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput - ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput } -type powerpackWidgetScatterplotDefinitionYaxisPtrType PowerpackWidgetScatterplotDefinitionYaxisArgs +type powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs -func PowerpackWidgetScatterplotDefinitionYaxisPtr(v *PowerpackWidgetScatterplotDefinitionYaxisArgs) PowerpackWidgetScatterplotDefinitionYaxisPtrInput { - return (*powerpackWidgetScatterplotDefinitionYaxisPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType)(v) } -func (*powerpackWidgetScatterplotDefinitionYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) } -type PowerpackWidgetScatterplotDefinitionYaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionYaxis) *PowerpackWidgetScatterplotDefinitionYaxis { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQuery { return &v - }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) } -// 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) +// `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) } -// 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) +// 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) } -// 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) +// 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) } -// 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) +// `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) } -// 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) +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetScatterplotDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQuery)(nil)).Elem() } -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput { return o } -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) PowerpackWidgetScatterplotDefinitionYaxis { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQuery { if v != nil { return *v } - var ret PowerpackWidgetScatterplotDefinitionYaxis + var ret PowerpackWidgetScatterplotDefinitionRequestYRumQuery return ret - }).(PowerpackWidgetScatterplotDefinitionYaxisOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryOutput) } -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *bool { +// `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.IncludeZero - }).(pulumi.BoolPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) } -// The label of the axis to display on the graph. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { +// 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.Label - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArrayOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { +// 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.Max + return &v.Index }).(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 { +// `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.Min - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) *string { +// 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.Scale + return v.SearchQuery }).(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"` +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"` } -// PowerpackWidgetServiceLevelObjectiveDefinitionInput is an input type that accepts PowerpackWidgetServiceLevelObjectiveDefinitionArgs and PowerpackWidgetServiceLevelObjectiveDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetServiceLevelObjectiveDefinitionInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput` via: // -// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} -type PowerpackWidgetServiceLevelObjectiveDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput - ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput } -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"` +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 (PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) } -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput).ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput is an input type that accepts PowerpackWidgetServiceLevelObjectiveDefinitionArgs, PowerpackWidgetServiceLevelObjectiveDefinitionPtr and PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput - ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput } -type powerpackWidgetServiceLevelObjectiveDefinitionPtrType PowerpackWidgetServiceLevelObjectiveDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs -func PowerpackWidgetServiceLevelObjectiveDefinitionPtr(v *PowerpackWidgetServiceLevelObjectiveDefinitionArgs) PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput { - return (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetServiceLevelObjectiveDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServiceLevelObjectiveDefinition) *PowerpackWidgetServiceLevelObjectiveDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { 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) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) Elem() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) PowerpackWidgetServiceLevelObjectiveDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetServiceLevelObjectiveDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery return ret - }).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// The global time target of the widget. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) GlobalTimeTarget() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryComputeQuery) *string { if v == nil { return nil } - return v.GlobalTimeTarget + return v.Facet }).(pulumi.StringPtrOutput) } -// Whether to show the error budget or not. -func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ShowErrorBudget() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) *bool { +// 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.ShowErrorBudget - }).(pulumi.BoolPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// 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) +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"` } -// 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) +// 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 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) +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"` } -// 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) +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() } -// 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) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByOutput) } -// 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) +// 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 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"` +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByInput + +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBy)(nil)).Elem() } -// PowerpackWidgetServicemapDefinitionInput is an input type that accepts PowerpackWidgetServicemapDefinitionArgs and PowerpackWidgetServicemapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionInput` 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: // -// PowerpackWidgetServicemapDefinitionArgs{...} -type PowerpackWidgetServicemapDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput - ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetServicemapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { - return i.ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput).ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetServicemapDefinitionPtrInput is an input type that accepts PowerpackWidgetServicemapDefinitionArgs, PowerpackWidgetServicemapDefinitionPtr and PowerpackWidgetServicemapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetServicemapDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetServicemapDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput - ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetServicemapDefinitionPtrType PowerpackWidgetServicemapDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs -func PowerpackWidgetServicemapDefinitionPtr(v *PowerpackWidgetServicemapDefinitionArgs) PowerpackWidgetServicemapDefinitionPtrInput { - return (*powerpackWidgetServicemapDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetServicemapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetServicemapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetServicemapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { - return o.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServicemapDefinition) *PowerpackWidgetServicemapDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { 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) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetServicemapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *string { return v.Facet }).(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) +// 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 PowerpackWidgetServicemapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetServicemapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetServicemapDefinitionPtrOutput) Elem() PowerpackWidgetServicemapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) PowerpackWidgetServicemapDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetServicemapDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery 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) + }).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetServicemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *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 PowerpackWidgetServicemapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *string { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYRumQueryGroupBySortQuery) *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 PowerpackWidgetServicemapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) *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.TitleSize + return &v.Order }).(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"` +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"` } -// PowerpackWidgetServicemapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetServicemapDefinitionCustomLinkArgs and PowerpackWidgetServicemapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionCustomLinkInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput` via: // -// PowerpackWidgetServicemapDefinitionCustomLinkArgs{...} -type PowerpackWidgetServicemapDefinitionCustomLinkInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput - ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput } -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"` +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 (PowerpackWidgetServicemapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) } -// PowerpackWidgetServicemapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetServicemapDefinitionCustomLinkArray and PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetServicemapDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetServicemapDefinitionCustomLinkArray{ PowerpackWidgetServicemapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetServicemapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput } -type PowerpackWidgetServicemapDefinitionCustomLinkArray []PowerpackWidgetServicemapDefinitionCustomLinkInput +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeInput -func (PowerpackWidgetServicemapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetServicemapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetServicemapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput { 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 aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute) *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 PowerpackWidgetServicemapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.OverrideLabel }).(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 PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYRumQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSloListDefinitionInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs and PowerpackWidgetSloListDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput` via: // -// PowerpackWidgetSloListDefinitionArgs{...} -type PowerpackWidgetSloListDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput - ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput } -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"` +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 (PowerpackWidgetSloListDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { - return i.ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) } -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput).ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSloListDefinitionPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs, PowerpackWidgetSloListDefinitionPtr and PowerpackWidgetSloListDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput` via: // -// PowerpackWidgetSloListDefinitionArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetSloListDefinitionPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput - ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput } -type powerpackWidgetSloListDefinitionPtrType PowerpackWidgetSloListDefinitionArgs +type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs -func PowerpackWidgetSloListDefinitionPtr(v *PowerpackWidgetSloListDefinitionArgs) PowerpackWidgetSloListDefinitionPtrInput { - return (*powerpackWidgetSloListDefinitionPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType)(v) } -func (*powerpackWidgetSloListDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) } -type PowerpackWidgetSloListDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSloListDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { return o } -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { return o } -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinition) *PowerpackWidgetSloListDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { return &v - }).(PowerpackWidgetSloListDefinitionPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) } -// 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) +// `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) } -// The title of the widget. -func (o PowerpackWidgetSloListDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// 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 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 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 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) +// `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) } -type PowerpackWidgetSloListDefinitionPtrOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetSloListDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetSloListDefinitionPtrOutput) Elem() PowerpackWidgetSloListDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) PowerpackWidgetSloListDefinition { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetSloListDefinition + var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQuery return ret - }).(PowerpackWidgetSloListDefinitionOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryOutput) } -// 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 { +// `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.Request - }).(PowerpackWidgetSloListDefinitionRequestPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetSloListDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) *string { +// 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.Title - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) } -// 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 { +// 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.TitleAlign + return &v.Index }).(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 { +// `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.TitleSize + 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 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"` +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"` } -// PowerpackWidgetSloListDefinitionRequestInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs and PowerpackWidgetSloListDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetSloListDefinitionRequestArgs{...} -type PowerpackWidgetSloListDefinitionRequestInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput - ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput } -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"` +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 (PowerpackWidgetSloListDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput).ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSloListDefinitionRequestPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs, PowerpackWidgetSloListDefinitionRequestPtr and PowerpackWidgetSloListDefinitionRequestPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetSloListDefinitionRequestArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetSloListDefinitionRequestPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput - ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetSloListDefinitionRequestPtrType PowerpackWidgetSloListDefinitionRequestArgs +type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs -func PowerpackWidgetSloListDefinitionRequestPtr(v *PowerpackWidgetSloListDefinitionRequestArgs) PowerpackWidgetSloListDefinitionRequestPtrInput { - return (*powerpackWidgetSloListDefinitionRequestPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetSloListDefinitionRequestPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetSloListDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSloListDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequest) *PowerpackWidgetSloListDefinitionRequest { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetSloListDefinitionRequestPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) } -// Updated SLO List widget. -func (o PowerpackWidgetSloListDefinitionRequestOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequestQuery { - return v.Query - }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSloListDefinitionRequestPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetSloListDefinitionRequestPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequest { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetSloListDefinitionRequest + var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery return ret - }).(PowerpackWidgetSloListDefinitionRequestOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryOutput) } -// Updated SLO List widget. -func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) *PowerpackWidgetSloListDefinitionRequestQuery { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.Query - }).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// 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 { +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryComputeQuery) *string { if v == nil { return nil } - return &v.RequestType + return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSloListDefinitionRequestQuery struct { - // Maximum number of results to display in the table. Defaults to `100`. +// 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"` - // 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"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetSloListDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs and PowerpackWidgetSloListDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput` via: // -// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} -type PowerpackWidgetSloListDefinitionRequestQueryInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput - ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput } -type PowerpackWidgetSloListDefinitionRequestQueryArgs struct { - // Maximum number of results to display in the table. Defaults to `100`. +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs struct { + // The facet name. + Facet pulumi.StringPtrInput `pulumi:"facet"` + // The maximum number of items in the group. 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()) + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput).ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) } -// PowerpackWidgetSloListDefinitionRequestQueryPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs, PowerpackWidgetSloListDefinitionRequestQueryPtr and PowerpackWidgetSloListDefinitionRequestQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryPtrInput` via: -// -// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetSloListDefinitionRequestQueryPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput - ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput } -type powerpackWidgetSloListDefinitionRequestQueryPtrType PowerpackWidgetSloListDefinitionRequestQueryArgs +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByInput -func PowerpackWidgetSloListDefinitionRequestQueryPtr(v *PowerpackWidgetSloListDefinitionRequestQueryArgs) PowerpackWidgetSloListDefinitionRequestQueryPtrInput { - return (*powerpackWidgetSloListDefinitionRequestQueryPtrType)(v) +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetSloListDefinitionRequestQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetSloListDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSloListDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput { 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) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy) *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) +// 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 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) +// 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 PowerpackWidgetSloListDefinitionRequestQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupByArrayOutput { 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) +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 PowerpackWidgetSloListDefinitionRequestQuerySort struct { - // The facet path for the column. - Column string `pulumi:"column"` +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"` } -// PowerpackWidgetSloListDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs and PowerpackWidgetSloListDefinitionRequestQuerySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} -type PowerpackWidgetSloListDefinitionRequestQuerySortInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput - ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetSloListDefinitionRequestQuerySortArgs struct { - // The facet path for the column. - Column pulumi.StringInput `pulumi:"column"` +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 (PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput).ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs, PowerpackWidgetSloListDefinitionRequestQuerySortPtr and PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs, PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput interface { +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput - ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetSloListDefinitionRequestQuerySortPtrType PowerpackWidgetSloListDefinitionRequestQuerySortArgs +type powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetSloListDefinitionRequestQuerySortPtr(v *PowerpackWidgetSloListDefinitionRequestQuerySortArgs) PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput { - return (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType)(v) +func PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryArgs) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) +func (i *powerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetSloListDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequestQuerySort) *PowerpackWidgetSloListDefinitionRequestQuerySort { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) } -// The facet path for the column. -func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) Column() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuerySort) string { return v.Column }).(pulumi.StringOutput) +// 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 PowerpackWidgetSloListDefinitionRequestQuerySortOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequestQuerySort) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) string { + return v.Order + }).(pulumi.StringOutput) } -type PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) PowerpackWidgetSloListDefinitionRequestQuerySort { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetSloListDefinitionRequestQuerySort + var ret PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) + }).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryOutput) } -// The facet path for the column. -func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Column() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) *string { +// The aggregation method. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Column + 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 PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) *string { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -54339,3397 +53852,3521 @@ func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Order() pulum }).(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"` +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"` } -// PowerpackWidgetSunburstDefinitionInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs and PowerpackWidgetSunburstDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionInput` via: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetSunburstDefinitionArgs{...} -type PowerpackWidgetSunburstDefinitionInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput 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() + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput } -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { - return i.ToPowerpackWidgetSunburstDefinitionOutputWithContext(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 PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput) +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput).ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) } -// PowerpackWidgetSunburstDefinitionPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs, PowerpackWidgetSunburstDefinitionPtr and PowerpackWidgetSunburstDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionArgs{...} -// -// or: +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray and PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionPtrInput interface { +// PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray{ PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput - ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionPtrOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput } -type powerpackWidgetSunburstDefinitionPtrType PowerpackWidgetSunburstDefinitionArgs - -func PowerpackWidgetSunburstDefinitionPtr(v *PowerpackWidgetSunburstDefinitionArgs) PowerpackWidgetSunburstDefinitionPtrInput { - return (*powerpackWidgetSunburstDefinitionPtrType)(v) -} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray []PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeInput -func (*powerpackWidgetSunburstDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionPtrOutput) +func (i PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArray) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetSunburstDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(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 PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinition { - return &v - }).(PowerpackWidgetSunburstDefinitionPtrOutput) +// The facet name. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// Define the time interval in seconds. +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// 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) -} +type PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiCompute)(nil)).Elem() } -// 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) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput() PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + 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 PowerpackWidgetSunburstDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionRequestYSecurityQueryMultiComputeArrayOutput { + return o } -// 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 (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) } -// The title of the widget. -func (o PowerpackWidgetSunburstDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +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"` } -// 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) +// 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 } -// 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 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"` } -type PowerpackWidgetSunburstDefinitionPtrOutput struct{ *pulumi.OutputState } +func (PowerpackWidgetScatterplotDefinitionXaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() +} -func (PowerpackWidgetSunburstDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { + return i.ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput) } -func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { - return o +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionPtrOutput) Elem() PowerpackWidgetSunburstDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) PowerpackWidgetSunburstDefinition { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinition - return ret - }).(PowerpackWidgetSunburstDefinitionOutput) +func (i PowerpackWidgetScatterplotDefinitionXaxisArgs) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisOutput).ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx) } -// 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) -} +// 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 -// 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) + ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput + ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput } -// 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) -} +type powerpackWidgetScatterplotDefinitionXaxisPtrType PowerpackWidgetScatterplotDefinitionXaxisArgs -// 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) +func PowerpackWidgetScatterplotDefinitionXaxisPtr(v *PowerpackWidgetScatterplotDefinitionXaxisArgs) PowerpackWidgetScatterplotDefinitionXaxisPtrInput { + return (*powerpackWidgetScatterplotDefinitionXaxisPtrType)(v) } -// 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) +func (*powerpackWidgetScatterplotDefinitionXaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -// 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) +func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetScatterplotDefinitionXaxisPtrType) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) } -// 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 PowerpackWidgetScatterplotDefinitionXaxisOutput struct{ *pulumi.OutputState } -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 (PowerpackWidgetScatterplotDefinitionXaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -// 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 (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutput() PowerpackWidgetScatterplotDefinitionXaxisOutput { + return o } -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 (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisOutput { + return o } -func (PowerpackWidgetSunburstDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionXaxisOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionXaxis) *PowerpackWidgetScatterplotDefinitionXaxis { + return &v + }).(PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) } -func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkOutput) +// 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) } -// 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 +// 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) } -type PowerpackWidgetSunburstDefinitionCustomLinkArray []PowerpackWidgetSunburstDefinitionCustomLinkInput - -func (PowerpackWidgetSunburstDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() +// 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) } -func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) +// 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 PowerpackWidgetSunburstDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionXaxisPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionXaxis)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutput() PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionXaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionXaxisPtrOutput { 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) +func (o PowerpackWidgetScatterplotDefinitionXaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionXaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionXaxis) PowerpackWidgetScatterplotDefinitionXaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetScatterplotDefinitionXaxis + return ret + }).(PowerpackWidgetScatterplotDefinitionXaxisOutput) } -// 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) +// 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) } -type PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return o +// 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) } -func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { - return o +// 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) } -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) +// 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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionLegendInlineInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs and PowerpackWidgetSunburstDefinitionLegendInlineOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlineInput` via: +// PowerpackWidgetScatterplotDefinitionYaxisInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs and PowerpackWidgetScatterplotDefinitionYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisInput` via: // -// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} -type PowerpackWidgetSunburstDefinitionLegendInlineInput interface { +// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} +type PowerpackWidgetScatterplotDefinitionYaxisInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput - ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput + ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput + ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionLegendInlineArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { + return i.ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput) } -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput).ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx) +func (i PowerpackWidgetScatterplotDefinitionYaxisArgs) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisOutput).ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionLegendInlinePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs, PowerpackWidgetSunburstDefinitionLegendInlinePtr and PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlinePtrInput` via: +// PowerpackWidgetScatterplotDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetScatterplotDefinitionYaxisArgs, PowerpackWidgetScatterplotDefinitionYaxisPtr and PowerpackWidgetScatterplotDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetScatterplotDefinitionYaxisPtrInput` via: // -// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} +// PowerpackWidgetScatterplotDefinitionYaxisArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionLegendInlinePtrInput interface { +type PowerpackWidgetScatterplotDefinitionYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput - ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput + ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput + ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput } -type powerpackWidgetSunburstDefinitionLegendInlinePtrType PowerpackWidgetSunburstDefinitionLegendInlineArgs +type powerpackWidgetScatterplotDefinitionYaxisPtrType PowerpackWidgetScatterplotDefinitionYaxisArgs -func PowerpackWidgetSunburstDefinitionLegendInlinePtr(v *PowerpackWidgetSunburstDefinitionLegendInlineArgs) PowerpackWidgetSunburstDefinitionLegendInlinePtrInput { - return (*powerpackWidgetSunburstDefinitionLegendInlinePtrType)(v) +func PowerpackWidgetScatterplotDefinitionYaxisPtr(v *PowerpackWidgetScatterplotDefinitionYaxisArgs) PowerpackWidgetScatterplotDefinitionYaxisPtrInput { + return (*powerpackWidgetScatterplotDefinitionYaxisPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionLegendInlinePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() +func (*powerpackWidgetScatterplotDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) +func (i *powerpackWidgetScatterplotDefinitionYaxisPtrType) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) } -type PowerpackWidgetSunburstDefinitionLegendInlineOutput struct{ *pulumi.OutputState } +type PowerpackWidgetScatterplotDefinitionYaxisOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionLegendInlineOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() +func (PowerpackWidgetScatterplotDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetScatterplotDefinitionYaxis)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutput() PowerpackWidgetScatterplotDefinitionYaxisOutput { return o } -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisOutput { return o } -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutput() PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return o.ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendInline) *PowerpackWidgetSunburstDefinitionLegendInline { +func (o PowerpackWidgetScatterplotDefinitionYaxisOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetScatterplotDefinitionYaxis) *PowerpackWidgetScatterplotDefinitionYaxis { return &v - }).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) + }).(PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) } -// 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) +// 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) } -// 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 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 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) +// 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) } -type PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { +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 PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) ToPowerpackWidgetScatterplotDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetScatterplotDefinitionYaxisPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendInlineOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) PowerpackWidgetSunburstDefinitionLegendInline { +func (o PowerpackWidgetScatterplotDefinitionYaxisPtrOutput) Elem() PowerpackWidgetScatterplotDefinitionYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetScatterplotDefinitionYaxis) PowerpackWidgetScatterplotDefinitionYaxis { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionLegendInline + var ret PowerpackWidgetScatterplotDefinitionYaxis return ret - }).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) + }).(PowerpackWidgetScatterplotDefinitionYaxisOutput) } -// Whether to hide the percentages of the groups. -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) HidePercent() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *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.HidePercent + return v.IncludeZero }).(pulumi.BoolPtrOutput) } -// Whether to hide the values of the groups. -func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) *bool { +// 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.HideValue - }).(pulumi.BoolPtrOutput) + return v.Label + }).(pulumi.StringPtrOutput) } -// 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 { +// 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.Type + return v.Max }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionLegendTable struct { - // The type of legend (table or none). Valid values are `table`, `none`. - Type string `pulumi:"type"` +// 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) } -// 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 +// 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 PowerpackWidgetSunburstDefinitionLegendTableArgs struct { - // The type of legend (table or none). Valid values are `table`, `none`. - Type pulumi.StringInput `pulumi:"type"` +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"` } -func (PowerpackWidgetSunburstDefinitionLegendTableArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() +// 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 } -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Background()) +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 (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput) +func (PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { + return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput).ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx) +func (i PowerpackWidgetServiceLevelObjectiveDefinitionArgs) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) } -// PowerpackWidgetSunburstDefinitionLegendTablePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendTableArgs, PowerpackWidgetSunburstDefinitionLegendTablePtr and PowerpackWidgetSunburstDefinitionLegendTablePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendTablePtrInput` via: +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: // -// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} +// PowerpackWidgetServiceLevelObjectiveDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionLegendTablePtrInput interface { +type PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput - ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput + ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput + ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput } -type powerpackWidgetSunburstDefinitionLegendTablePtrType PowerpackWidgetSunburstDefinitionLegendTableArgs +type powerpackWidgetServiceLevelObjectiveDefinitionPtrType PowerpackWidgetServiceLevelObjectiveDefinitionArgs -func PowerpackWidgetSunburstDefinitionLegendTablePtr(v *PowerpackWidgetSunburstDefinitionLegendTableArgs) PowerpackWidgetSunburstDefinitionLegendTablePtrInput { - return (*powerpackWidgetSunburstDefinitionLegendTablePtrType)(v) +func PowerpackWidgetServiceLevelObjectiveDefinitionPtr(v *PowerpackWidgetServiceLevelObjectiveDefinitionArgs) PowerpackWidgetServiceLevelObjectiveDefinitionPtrInput { + return (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionLegendTablePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() +func (*powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return i.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) +func (i *powerpackWidgetServiceLevelObjectiveDefinitionPtrType) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) } -type PowerpackWidgetSunburstDefinitionLegendTableOutput struct{ *pulumi.OutputState } +type PowerpackWidgetServiceLevelObjectiveDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionLegendTableOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() +func (PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServiceLevelObjectiveDefinition)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutput() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput() PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return o.ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendTable) *PowerpackWidgetSunburstDefinitionLegendTable { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServiceLevelObjectiveDefinition) *PowerpackWidgetServiceLevelObjectiveDefinition { return &v - }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) + }).(PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetSunburstDefinitionLegendTablePtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { +// 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 PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) ToPowerpackWidgetServiceLevelObjectiveDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendTableOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendTable) PowerpackWidgetSunburstDefinitionLegendTable { +func (o PowerpackWidgetServiceLevelObjectiveDefinitionPtrOutput) Elem() PowerpackWidgetServiceLevelObjectiveDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetServiceLevelObjectiveDefinition) PowerpackWidgetServiceLevelObjectiveDefinition { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionLegendTable + var ret PowerpackWidgetServiceLevelObjectiveDefinition return ret - }).(PowerpackWidgetSunburstDefinitionLegendTableOutput) + }).(PowerpackWidgetServiceLevelObjectiveDefinitionOutput) } -// 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 { +// 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.Type + return v.AdditionalQueryFilters }).(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"` +// 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) } -// 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 +// 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) } -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"` +// 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) } -func (PowerpackWidgetSunburstDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestOutput) +// 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) } -// 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 +// 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) } -type PowerpackWidgetSunburstDefinitionRequestArray []PowerpackWidgetSunburstDefinitionRequestInput - -func (PowerpackWidgetSunburstDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) +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"` } -type PowerpackWidgetSunburstDefinitionRequestOutput struct{ *pulumi.OutputState } +// 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 -func (PowerpackWidgetSunburstDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() + ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput + ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionOutput } -func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { - return o +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 (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { - return o +func (PowerpackWidgetServicemapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() } -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) ApmQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { + return i.ToPowerpackWidgetServicemapDefinitionOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) AuditQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Formulas() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) LogQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) +func (i PowerpackWidgetServicemapDefinitionArgs) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionOutput).ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx) } -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) NetworkQuery() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { - return v.NetworkQuery - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) -} +// 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 -// 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) + ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput + ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetServicemapDefinitionPtrOutput } -// 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) -} +type powerpackWidgetServicemapDefinitionPtrType PowerpackWidgetServicemapDefinitionArgs -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Queries() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) +func PowerpackWidgetServicemapDefinitionPtr(v *PowerpackWidgetServicemapDefinitionArgs) PowerpackWidgetServicemapDefinitionPtrInput { + return (*powerpackWidgetServicemapDefinitionPtrType)(v) } -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) RumQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) +func (*powerpackWidgetServicemapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() } -// The query to use for this widget. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) SecurityQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return i.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) } -// Define style for the widget's request. -func (o PowerpackWidgetSunburstDefinitionRequestOutput) Style() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestStyle { - return v.Style - }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) +func (i *powerpackWidgetServicemapDefinitionPtrType) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetServicemapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetServicemapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinition)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutput() PowerpackWidgetServicemapDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionOutput { 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) +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return o.ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(context.Background()) } -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"` +func (o PowerpackWidgetServicemapDefinitionOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetServicemapDefinition) *PowerpackWidgetServicemapDefinition { + return &v + }).(PowerpackWidgetServicemapDefinitionPtrOutput) } -// 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 +// 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) } -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"` +// 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) } -func (PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Background()) +// The title of the widget. +func (o PowerpackWidgetServicemapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +// 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 (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx) +type PowerpackWidgetServicemapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServicemapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetServicemapDefinition)(nil)).Elem() } -// 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 +func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutput() PowerpackWidgetServicemapDefinitionPtrOutput { + return o +} - ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput +func (o PowerpackWidgetServicemapDefinitionPtrOutput) ToPowerpackWidgetServicemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionPtrOutput { + return o } -type powerpackWidgetSunburstDefinitionRequestApmQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryArgs +func (o PowerpackWidgetServicemapDefinitionPtrOutput) Elem() PowerpackWidgetServicemapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetServicemapDefinition) PowerpackWidgetServicemapDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetServicemapDefinition + return ret + }).(PowerpackWidgetServicemapDefinitionOutput) +} -func PowerpackWidgetSunburstDefinitionRequestApmQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType)(v) +// 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) } -func (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() +// 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) } -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +// 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) } -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) +// 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) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return o +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"` } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { - return o +// 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 } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +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 (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) +func (PowerpackWidgetServicemapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() } -// `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) +func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetServicemapDefinitionCustomLinkArgs) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkOutput) } -// 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) +// 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 } -// `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) +type PowerpackWidgetServicemapDefinitionCustomLinkArray []PowerpackWidgetServicemapDefinitionCustomLinkInput + +func (PowerpackWidgetServicemapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetServicemapDefinitionCustomLinkArray) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() +type PowerpackWidgetServicemapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServicemapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutput() PowerpackWidgetServicemapDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkOutput { 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) +// 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) } -// `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) +// 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) } -// 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 URL of the custom link. +func (o PowerpackWidgetServicemapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetServicemapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// `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) +type PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetServicemapDefinitionCustomLink)(nil)).Elem() } -// 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) +func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutput() PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return o } -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"` +func (o PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetServicemapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetServicemapDefinitionCustomLinkArrayOutput { + return o } -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput` via: +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: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetSloListDefinitionArgs{...} +type PowerpackWidgetSloListDefinitionInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput + ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { + return i.ToPowerpackWidgetSloListDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSloListDefinitionArgs) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionOutput).ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetSloListDefinitionPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionArgs, PowerpackWidgetSloListDefinitionPtr and PowerpackWidgetSloListDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetSloListDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetSloListDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput + ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionPtrOutput } -type powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetSloListDefinitionPtrType PowerpackWidgetSloListDefinitionArgs -func PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetSloListDefinitionPtr(v *PowerpackWidgetSloListDefinitionArgs) PowerpackWidgetSloListDefinitionPtrInput { + return (*powerpackWidgetSloListDefinitionPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSloListDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSloListDefinitionPtrType) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSloListDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutput() PowerpackWidgetSloListDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSloListDefinitionOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinition) *PowerpackWidgetSloListDefinition { return &v - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSloListDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) 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 PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +type PowerpackWidgetSloListDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinition)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutput() PowerpackWidgetSloListDefinitionPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionPtrOutput) ToPowerpackWidgetSloListDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSloListDefinitionPtrOutput) Elem() PowerpackWidgetSloListDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinition) PowerpackWidgetSloListDefinition { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetSloListDefinition return ret - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetSloListDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetSloListDefinitionRequestInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestArgs and PowerpackWidgetSloListDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestInput` via: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetSloListDefinitionRequestArgs{...} +type PowerpackWidgetSloListDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput + ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetSloListDefinitionRequestArgs) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestOutput) } -// 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 { +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 - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput + ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput +type powerpackWidgetSloListDefinitionRequestPtrType PowerpackWidgetSloListDefinitionRequestArgs -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSloListDefinitionRequestPtr(v *PowerpackWidgetSloListDefinitionRequestArgs) PowerpackWidgetSloListDefinitionRequestPtrInput { + return (*powerpackWidgetSloListDefinitionRequestPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSloListDefinitionRequestPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) +func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSloListDefinitionRequestPtrType) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutput() PowerpackWidgetSloListDefinitionRequestOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetSloListDefinitionRequestOutput) ToPowerpackWidgetSloListDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestOutput { return o } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +// Updated SLO List widget. +func (o PowerpackWidgetSloListDefinitionRequestOutput) Query() PowerpackWidgetSloListDefinitionRequestQueryOutput { + return o.ApplyT(func(v PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequestQuery { + return v.Query + }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutput() PowerpackWidgetSloListDefinitionRequestPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) ToPowerpackWidgetSloListDefinitionRequestPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestPtrOutput { 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) +func (o PowerpackWidgetSloListDefinitionRequestPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequest) PowerpackWidgetSloListDefinitionRequest { + if v != nil { + return *v + } + var ret PowerpackWidgetSloListDefinitionRequest + return ret + }).(PowerpackWidgetSloListDefinitionRequestOutput) } -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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput` 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: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} +type PowerpackWidgetSloListDefinitionRequestQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput + ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSloListDefinitionRequestQueryArgs) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryOutput).ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSloListDefinitionRequestQueryPtrInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQueryArgs, PowerpackWidgetSloListDefinitionRequestQueryPtr and PowerpackWidgetSloListDefinitionRequestQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSloListDefinitionRequestQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSloListDefinitionRequestQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput + ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs +type powerpackWidgetSloListDefinitionRequestQueryPtrType PowerpackWidgetSloListDefinitionRequestQueryArgs -func PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSloListDefinitionRequestQueryPtr(v *PowerpackWidgetSloListDefinitionRequestQueryArgs) PowerpackWidgetSloListDefinitionRequestQueryPtrInput { + return (*powerpackWidgetSloListDefinitionRequestQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSloListDefinitionRequestQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSloListDefinitionRequestQueryPtrType) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSloListDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutput() PowerpackWidgetSloListDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSloListDefinitionRequestQueryOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSloListDefinitionRequestQuery) *PowerpackWidgetSloListDefinitionRequestQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) 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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) 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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSloListDefinitionRequestQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutput() PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSloListDefinitionRequestQueryPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuery) PowerpackWidgetSloListDefinitionRequestQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetSloListDefinitionRequestQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSloListDefinitionRequestQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetSloListDefinitionRequestQuerySortInput is an input type that accepts PowerpackWidgetSloListDefinitionRequestQuerySortArgs and PowerpackWidgetSloListDefinitionRequestQuerySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetSloListDefinitionRequestQuerySortInput` via: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} +type PowerpackWidgetSloListDefinitionRequestQuerySortInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetSloListDefinitionRequestQuerySortArgs) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) } -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput` 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: // -// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetSloListDefinitionRequestQuerySortArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput + ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput +type powerpackWidgetSloListDefinitionRequestQuerySortPtrType PowerpackWidgetSloListDefinitionRequestQuerySortArgs -func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetSloListDefinitionRequestQuerySortPtr(v *PowerpackWidgetSloListDefinitionRequestQuerySortArgs) PowerpackWidgetSloListDefinitionRequestQuerySortPtrInput { + return (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return i.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSloListDefinitionRequestQuerySortPtrType) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestQuerySortOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutput() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortOutput { return o } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSloListDefinitionRequestQuerySortOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { + return o.ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *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 PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSloListDefinitionRequestQuerySort)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput() PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) ToPowerpackWidgetSloListDefinitionRequestQuerySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput { 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) +func (o PowerpackWidgetSloListDefinitionRequestQuerySortPtrOutput) Elem() PowerpackWidgetSloListDefinitionRequestQuerySortOutput { + return o.ApplyT(func(v *PowerpackWidgetSloListDefinitionRequestQuerySort) PowerpackWidgetSloListDefinitionRequestQuerySort { + if v != nil { + return *v + } + var ret PowerpackWidgetSloListDefinitionRequestQuerySort + return ret + }).(PowerpackWidgetSloListDefinitionRequestQuerySortOutput) } -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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryInput` 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: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryInput interface { +// PowerpackWidgetSunburstDefinitionArgs{...} +type PowerpackWidgetSunburstDefinitionInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput + ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput + ToPowerpackWidgetSunburstDefinitionOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { + return i.ToPowerpackWidgetSunburstDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionArgs) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionOutput).ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionArgs, PowerpackWidgetSunburstDefinitionPtr and PowerpackWidgetSunburstDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} +// PowerpackWidgetSunburstDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput + ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionPtrOutput } -type powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs +type powerpackWidgetSunburstDefinitionPtrType PowerpackWidgetSunburstDefinitionArgs -func PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionPtr(v *PowerpackWidgetSunburstDefinitionArgs) PowerpackWidgetSunburstDefinitionPtrInput { + return (*powerpackWidgetSunburstDefinitionPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinition)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionPtrType) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinition)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutput() PowerpackWidgetSunburstDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutput() PowerpackWidgetSunburstDefinitionPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { +func (o PowerpackWidgetSunburstDefinitionOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinition) *PowerpackWidgetSunburstDefinition { return &v - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionPtrOutput) } -// `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) +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput 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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(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 PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionPtrOutput) ToPowerpackWidgetSunburstDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) PowerpackWidgetSunburstDefinitionRequestAuditQuery { +func (o PowerpackWidgetSunburstDefinitionPtrOutput) Elem() PowerpackWidgetSunburstDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinition) PowerpackWidgetSunburstDefinition { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestAuditQuery + var ret PowerpackWidgetSunburstDefinition return ret - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) + }).(PowerpackWidgetSunburstDefinitionOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { +// 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 - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy { +// 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 - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) + return v.HideTotal + }).(pulumi.BoolPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { +// 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 - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) + return v.LegendTable + }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) *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 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"` +// 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) } -// 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 +// 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) +} - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput +// 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 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"` +// 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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) +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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (PowerpackWidgetSunburstDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionCustomLinkArgs) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(context.Background()) } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} -// -// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionCustomLinkArray{ PowerpackWidgetSunburstDefinitionCustomLinkArgs{...} } +type PowerpackWidgetSunburstDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput + ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput } -type powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionCustomLinkArray []PowerpackWidgetSunburstDefinitionCustomLinkInput -func (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionCustomLinkArray) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutput() PowerpackWidgetSunburstDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkOutput { 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 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutput() PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput) ToPowerpackWidgetSunburstDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionCustomLinkArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionLegendInlineInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendInlineArgs and PowerpackWidgetSunburstDefinitionLegendInlineOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendInlineInput` via: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionLegendInlineArgs{...} +type PowerpackWidgetSunburstDefinitionLegendInlineInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput + ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendInlineArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutput() PowerpackWidgetSunburstDefinitionLegendInlineOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) } -// 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 +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) +} - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput +func (i PowerpackWidgetSunburstDefinitionLegendInlineArgs) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlineOutput).ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx) } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput +// 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 -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput + ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +type powerpackWidgetSunburstDefinitionLegendInlinePtrType PowerpackWidgetSunburstDefinitionLegendInlineArgs + +func PowerpackWidgetSunburstDefinitionLegendInlinePtr(v *PowerpackWidgetSunburstDefinitionLegendInlineArgs) PowerpackWidgetSunburstDefinitionLegendInlinePtrInput { + return (*powerpackWidgetSunburstDefinitionLegendInlinePtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) +func (*powerpackWidgetSunburstDefinitionLegendInlinePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendInline)(nil)).Elem() } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutput() PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(context.Background()) +} -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (i *powerpackWidgetSunburstDefinitionLegendInlinePtrType) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { +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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionLegendInlineOutput) ToPowerpackWidgetSunburstDefinitionLegendInlineOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlineOutput { return o } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput 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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(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) } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { +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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendInlinePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput { 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) +func (o PowerpackWidgetSunburstDefinitionLegendInlinePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendInlineOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendInline) PowerpackWidgetSunburstDefinitionLegendInline { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionLegendInline + return ret + }).(PowerpackWidgetSunburstDefinitionLegendInlineOutput) } -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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput` via: +// 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: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} +type PowerpackWidgetSunburstDefinitionLegendTableInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput + ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput } -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"` +type PowerpackWidgetSunburstDefinitionLegendTableArgs struct { + // The type of legend (table or none). Valid values are `table`, `none`. + Type pulumi.StringInput `pulumi:"type"` } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendTableArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionLegendTableArgs) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTableOutput).ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionLegendTablePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionLegendTableArgs, PowerpackWidgetSunburstDefinitionLegendTablePtr and PowerpackWidgetSunburstDefinitionLegendTablePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionLegendTablePtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionLegendTableArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionLegendTablePtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput + ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput } -type powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionLegendTablePtrType PowerpackWidgetSunburstDefinitionLegendTableArgs -func PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionLegendTablePtr(v *PowerpackWidgetSunburstDefinitionLegendTableArgs) PowerpackWidgetSunburstDefinitionLegendTablePtrInput { + return (*powerpackWidgetSunburstDefinitionLegendTablePtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionLegendTablePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionLegendTablePtrType) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionLegendTableOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendTableOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutput() PowerpackWidgetSunburstDefinitionLegendTableOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTableOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTableOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionLegendTableOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionLegendTable) *PowerpackWidgetSunburstDefinitionLegendTable { 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) + }).(PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) } -// 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) +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionLegendTablePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionLegendTable)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutput() PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) ToPowerpackWidgetSunburstDefinitionLegendTablePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionLegendTablePtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionLegendTablePtrOutput) Elem() PowerpackWidgetSunburstDefinitionLegendTableOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionLegendTable) PowerpackWidgetSunburstDefinitionLegendTable { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionLegendTable 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) + }).(PowerpackWidgetSunburstDefinitionLegendTableOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestArgs and PowerpackWidgetSunburstDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestInput` via: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestArgs{...} +type PowerpackWidgetSunburstDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput + ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestArgs) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestOutput) } -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestArray and PowerpackWidgetSunburstDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestArrayInput` via: // -// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestArray{ PowerpackWidgetSunburstDefinitionRequestArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestArray []PowerpackWidgetSunburstDefinitionRequestInput -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestArray) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutput() PowerpackWidgetSunburstDefinitionRequestOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ToPowerpackWidgetSunburstDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestOutput { 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) +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) ApmQuery() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) AuditQuery() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Formulas() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) LogQuery() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o +// 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute { - return vs[0].([]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) +// 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) } -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"` +// 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) } -// 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 +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Queries() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) []PowerpackWidgetSunburstDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) } -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"` +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) RumQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) } -func (PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() +// The query to use for this widget. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) SecurityQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) } -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) +// Define style for the widget's request. +func (o PowerpackWidgetSunburstDefinitionRequestOutput) Style() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequest) *PowerpackWidgetSunburstDefinitionRequestStyle { + return v.Style + }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { +func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutput() PowerpackWidgetSunburstDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { +func (o PowerpackWidgetSunburstDefinitionRequestArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestArrayOutput { 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) +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) } -// 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) +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"` } -// 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) -} +// 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 -// The options for limiting results returned. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Limit() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) + ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput } -// Styling options for widget formulas. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Style() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) +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"` } -type PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) } -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) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -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"` +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput } -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 powerpackWidgetSunburstDefinitionRequestApmQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryArgs -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestApmQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -// 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 +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetSunburstDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return o } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return o } -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return o +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQuery) *PowerpackWidgetSunburstDefinitionRequestApmQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { - return o +// `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 comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +// 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 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 name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// 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) +// `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) } -// Setting this to True hides values. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -// Displays an image as the background. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQuery)(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 PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o } -// Defines the displayed timeframe. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput { + return o } -// A value for the comparator. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQuery) PowerpackWidgetSunburstDefinitionRequestApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestApmQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryOutput) } -type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +// `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 (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// 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 PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { - return o +// `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) } -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) +// 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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs and PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs, PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr and PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs +type powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs -func PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(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) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) PowerpackWidgetSunburstDefinitionRequestFormulaLimit { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestFormulaLimit + var ret PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *int { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil } - return v.Order + return v.Facet }).(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"` +// 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) } -// 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 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"` } -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"` -} +// 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 -func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +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 (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs, PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr and PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput } -type powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByInput -func (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput { 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 facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy) *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 PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { return v.Palette }).(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) } -// 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) +// 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 PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupByArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestLogQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryArgs +type powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs -func PowerpackWidgetSunburstDefinitionRequestLogQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQuery { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { 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) + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(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 facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) PowerpackWidgetSunburstDefinitionRequestLogQuery { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestLogQuery + var ret PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery 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) + }).(PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *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 PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { +// 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.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -57738,18 +57375,18 @@ type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput } -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -57758,417 +57395,459 @@ type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs struct { 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 (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) } -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput } -type powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeInput -func (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) 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) +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 PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestApmQueryMultiComputeArrayOutput { 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) +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) } -// 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) +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"` } -// 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) -} +// 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 -// 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) + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput } -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"` +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"` } -// 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 +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -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 (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput +type powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestAuditQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) } -// 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) +// `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) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { +// `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 PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQuery) PowerpackWidgetSunburstDefinitionRequestAuditQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestAuditQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery struct { +// `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"` - // Widget sorting methods. Valid values are `asc`, `desc`. - Order string `pulumi:"order"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs 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 (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs -func PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) 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 PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *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) +// 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 PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -58177,8 +57856,8 @@ func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutpu } // The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -58186,351 +57865,311 @@ func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutpu }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { +// 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.Order - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute struct { - // The aggregation method. - Aggregation string `pulumi:"aggregation"` +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy 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 *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput } -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs struct { - // The aggregation method. - Aggregation pulumi.StringInput `pulumi:"aggregation"` +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) } -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput` via: // -// PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput } -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByInput -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput { 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 PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) *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) } -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(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 PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupByArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs +type powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs -func PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { 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) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) string { + return v.Aggregation + }).(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 facet name. +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQuery { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestNetworkQuery + var ret PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery 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) + }).(PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryOutput) } -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { +// 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.SearchQuery + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -58539,18 +58178,18 @@ type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -58559,6328 +58198,6187 @@ type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs struct 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 (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput } -type powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeInput -func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute) 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) +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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestAuditQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaArgs and PowerpackWidgetSunburstDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaOutput) } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaArray and PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaArray{ PowerpackWidgetSunburstDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestFormulaArray []PowerpackWidgetSunburstDefinitionRequestFormulaInput -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutput() PowerpackWidgetSunburstDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaOutput { return o } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// An expression alias. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *string { return v.Alias }).(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 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) } -// 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) +// 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) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +// The options for limiting results returned. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaOutput) Limit() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormula) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput 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() + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput } -type powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatInput -func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(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 (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(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) } -// 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) +// Displays an image as the background. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(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 PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o +// Defines the displayed timeframe. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o +// A value for the comparator. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery - return ret - }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) +type PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs and PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) } -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput` via: +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: // -// PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput +type powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimitArgs) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { return o } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *PowerpackWidgetSunburstDefinitionRequestFormulaLimit { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The number of results to return. +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaLimit) PowerpackWidgetSunburstDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestFormulaLimit + return ret + }).(PowerpackWidgetSunburstDefinitionRequestFormulaLimitOutput) } -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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryInput` via: +// 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: // -// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetSunburstDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs, PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr and PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs +type powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs -func PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestFormulaStylePtr(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyleArgs) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *PowerpackWidgetSunburstDefinitionRequestProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *PowerpackWidgetSunburstDefinitionRequestFormulaStyle { 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) + }).(PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) string { return v.Metric }).(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 PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *string { return v.SearchBy }).(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 PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) PowerpackWidgetSunburstDefinitionRequestProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) PowerpackWidgetSunburstDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestProcessQuery + var ret PowerpackWidgetSunburstDefinitionRequestFormulaStyle return ret - }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestFormulaStyleOutput) } -// A list of processes. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) []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 PowerpackWidgetSunburstDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestFormulaStyle) *string { if v == nil { return nil } - return v.FilterBies - }).(pulumi.StringArrayOutput) + return v.Palette + }).(pulumi.StringPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) *int { +// 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.Limit + return v.PaletteIndex }).(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) +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"` } -// 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) -} +// 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 -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"` + ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput } -// 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 +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"` +} - ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput +func (PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -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 (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetSunburstDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryArray and PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryArray{ PowerpackWidgetSunburstDefinitionRequestQueryArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestQueryArray []PowerpackWidgetSunburstDefinitionRequestQueryInput +type powerpackWidgetSunburstDefinitionRequestLogQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryArgs -func (PowerpackWidgetSunburstDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestLogQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQuery) *PowerpackWidgetSunburstDefinitionRequestLogQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) +// `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) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) +// 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) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) +// 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) } -// The process query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) +// `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 SLO query using formulas and functions. -func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQuery) PowerpackWidgetSunburstDefinitionRequestLogQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestLogQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` +// `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) } -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// 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: // -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// 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 { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { +// 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.Env - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// 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) +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"` } -// 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) +// 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 } -// 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) +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"` } -// 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) +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) } -// 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) +// 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 } -// 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 PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -// 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 +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) +} - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return o } -func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput { + return o } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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 +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return o +} - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupByArrayOutput { + return o } -type powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs +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) +} -func PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +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"` } -func (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +// 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 } -func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +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 (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +} -func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// 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 } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +type powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs + +func PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// 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) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (i *powerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// 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) +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return o } -// Name of operation on service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + 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 PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// APM resource. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// 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 { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.DataSource + return v.Facet }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { +// 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.Env + return &v.Order }).(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) +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"` } -// 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) +// 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 } -// 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) +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"` } -// 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) +func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeOutput) } -// 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) +// 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 } -// 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 PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeInput + +func (PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput` via: +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: // -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs +type powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs -func PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) } -// 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) +// `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) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// 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 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 index to query. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) string { return v.Index }).(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) +// `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 cloud cost query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetSunburstDefinitionRequestNetworkQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryOutput) } -// 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 { +// `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.Aggregator - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { +// 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.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { +// 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.DataSource + return &v.Index }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { +// `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.Name - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { +// 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.Query + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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 (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs +type powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs -func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -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) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -// 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 aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { return v.Storage }).(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 PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuery + var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(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 { +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryComputeQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(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 { +// 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.Storage - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByInput -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput { 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) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A time interval in milliseconds. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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) } -// The measurable attribute to compute. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// 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 PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupByArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput` via: +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: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput +type powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -// The event facet. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The number of groups to return. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o } -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"` +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryGroupBySortQueryOutput) } -// 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 +// 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) } -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"` +// 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) } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +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"` } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) +// 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 } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +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 (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -// 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 +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) +} - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) } -type powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs +// 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 -func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput } -func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeInput + +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput { 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 aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) 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) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(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) +// 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 PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestNetworkQueryMultiComputeArrayOutput { 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) +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 PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetSunburstDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +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 (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} +// PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs +type powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs -func PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestProcessQuery) *PowerpackWidgetSunburstDefinitionRequestProcessQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) } -// The events search string. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// A list of processes. +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// Your chosen metric. +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) PowerpackWidgetSunburstDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch + var ret PowerpackWidgetSunburstDefinitionRequestProcessQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) + }).(PowerpackWidgetSunburstDefinitionRequestProcessQueryOutput) } -// The events search string. -func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *string { +// A list of processes. +func (o PowerpackWidgetSunburstDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return &v.Query - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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) } -// 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 +// 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) +} - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput +// 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 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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"` } -func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() +// 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 } -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) +func (PowerpackWidgetSunburstDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryOutput) } -// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryArray and PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryArray{ PowerpackWidgetSunburstDefinitionRequestQueryArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput } -type powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestQueryArray []PowerpackWidgetSunburstDefinitionRequestQueryInput -func (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryArray) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) +// 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 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 Cloud Cost query using formulas and functions. +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) } -// 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) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) } -// 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 process query using formulas and functions. +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetSunburstDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryArrayOutput { 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(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) +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 PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // 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"` + // 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"` } -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput } -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"` +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // 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"` + // 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 (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// 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) } -// 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) +// APM environment. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(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) +// 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 number of hits to return. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// 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) } -// The process metric name. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.Metric }).(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 query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) string { return v.Name }).(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) } -// 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) +// 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) } -// 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) +// APM resource. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -// 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) +// APM service. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// 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 { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Aggregator + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { +// 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.CrossOrgUuids + return &v.DataSource }).(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 { +// APM environment. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *bool { +// 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.IsNormalizedCpu + return v.IsUpstream }).(pulumi.BoolPtrOutput) } -// The number of hits to return. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { +// 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.Metric + return &v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *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 PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Name + return v.PrimaryTagName }).(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 { +// 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.Sort + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) []string { +// APM resource. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { +// APM service. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.TextFilter + return &v.Service }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` +// 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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + 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"` } -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs and PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + 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 (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs, PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr and PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs{...} +// 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 PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { 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) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(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) +// 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) } -// 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) +// APM environment. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// 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) +// 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 PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.SloId }).(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) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(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) } -type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestQuerySloQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { +// 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.CrossOrgUuids + return &v.DataSource }).(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 { +// APM environment. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(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 { +// 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.GroupMode + 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) } -// 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 { +// 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.Measure + return v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *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 PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Name + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { +// 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.SloId + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { +// APM resource. +func (o PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.SloQueryType + return v.ResourceName }).(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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryInput` via: +// 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestRumQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetSunburstDefinitionRequestRumQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) } -// `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) +// 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) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// `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 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 search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The cloud cost query definition. +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) PowerpackWidgetSunburstDefinitionRequestRumQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestRumQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { +// 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.Index + return &v.DataSource }).(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 { +// 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.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { +// 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.SearchQuery + return &v.Query }).(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"` +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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"` } -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryInput 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() + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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 (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) } -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput` via: +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: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The compute options. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(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) +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// Group by options. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) PowerpackWidgetSunburstDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { +// The compute options. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return &v.Aggregation + return v.Computes + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.Facet + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *int { +// Group by options. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuery) []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) } -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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput` via: +// 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: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput } -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"` +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 (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) } -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeInput -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *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 PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 time interval in milliseconds. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(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) +// The measurable attribute to compute. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput 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() + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput } -type powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs - -func PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByInput -func (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// The event facet. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The options for sorting group by results. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - 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) } -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. +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 facet name. - Facet *string `pulumi:"facet"` - // Define the time interval in seconds. - Interval *int `pulumi:"interval"` + // The metric used for sorting group by results. + Metric *string `pulumi:"metric"` + // Direction of sort. Valid values are `asc`, `desc`. + Order *string `pulumi:"order"` } -// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs struct { - // The aggregation method. +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 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"` + // 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 (PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { 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) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// 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) +// 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) } -// `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 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) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestSecurityQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort 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) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The name of the index to query. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *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 PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQueryGroupBySort) *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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { +// 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.MultiComputes - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return v.Metric + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { +// 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.SearchQuery + return v.Order }).(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"` +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput } -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"` +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput } -type powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs -func PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { 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) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The events search string. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch return ret - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { +// The events search string. +func (o PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryEventQuerySearch) *string { if v == nil { return nil } - return &v.Aggregation + return &v.Query }).(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) +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// 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) -} +// 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 -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"` + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput } -// 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 +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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"` +} - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput +func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -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 (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput +type powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType)(v) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { return o } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -// 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) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryOutput) } -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"` +// 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) } -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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: // -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) 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 PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(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) +// 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) } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +} -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The number of hits to return. +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +// 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 PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// 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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// 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.Order + return &v.DataSource }).(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"` +// 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) } -// 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 +// 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) +} - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput +// 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) } -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"` +// 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) } -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) +// 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) } -// 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 PowerpackWidgetSunburstDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput +// 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 -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -// The aggregation method. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (i PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// The facet name. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} +// 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 -// Define the time interval in seconds. -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput } -type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} +type powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o +func PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQueryArgs) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType)(v) } -func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o +func (*powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -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 (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -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"` +func (i *powerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) } -// 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 +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput - ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput +func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -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 (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return o } -func (PowerpackWidgetSunburstDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return o } -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) } -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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 +// 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) } -type powerpackWidgetSunburstDefinitionRequestStylePtrType PowerpackWidgetSunburstDefinitionRequestStyleArgs +// 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) +} -func PowerpackWidgetSunburstDefinitionRequestStylePtr(v *PowerpackWidgetSunburstDefinitionRequestStyleArgs) PowerpackWidgetSunburstDefinitionRequestStylePtrInput { - return (*powerpackWidgetSunburstDefinitionRequestStylePtrType)(v) +// 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) } -func (*powerpackWidgetSunburstDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() +// 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) } -func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) +// ID of an SLO to query. +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } -func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetSunburstDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) PowerpackWidgetSunburstDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestQuerySloQueryOutput) } -func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestStyle) *PowerpackWidgetSunburstDefinitionRequestStyle { - return &v - }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) +// 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) } -// 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) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetSunburstDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { - return o +// 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) } -func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) PowerpackWidgetSunburstDefinitionRequestStyle { - if v != nil { - return *v +// ID of an SLO to query. +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetSunburstDefinitionRequestStyle - return ret - }).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) + return &v.SloId + }).(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 PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) *string { +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetSunburstDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.Palette + return v.SloQueryType }).(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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs and PowerpackWidgetTimeseriesDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionArgs{...} -type PowerpackWidgetTimeseriesDefinitionInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput - ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput).ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs, PowerpackWidgetTimeseriesDefinitionPtr and PowerpackWidgetTimeseriesDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionArgs{...} +// PowerpackWidgetSunburstDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput - ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionPtrType PowerpackWidgetTimeseriesDefinitionArgs +type powerpackWidgetSunburstDefinitionRequestRumQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryArgs -func PowerpackWidgetTimeseriesDefinitionPtr(v *PowerpackWidgetTimeseriesDefinitionArgs) PowerpackWidgetTimeseriesDefinitionPtrInput { - return (*powerpackWidgetTimeseriesDefinitionPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestRumQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(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) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQuery) *PowerpackWidgetSunburstDefinitionRequestRumQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) } -// 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) +// `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) } -// The title of the widget. -func (o PowerpackWidgetTimeseriesDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// 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 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 name of the index to query. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -// 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) +// `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) } -// 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) +// The search query to use. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) PowerpackWidgetTimeseriesDefinition { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQuery) PowerpackWidgetSunburstDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinition + var ret PowerpackWidgetSunburstDefinitionRequestRumQuery 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) + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryOutput) } -// 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 { +// `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.Events - }).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) + return v.ComputeQuery + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } -// 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 { +// 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.LegendColumns - }).(pulumi.StringArrayOutput) + return v.GroupBies + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) } -// 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 { +// 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.LegendLayout + return &v.Index }).(pulumi.StringPtrOutput) } -// The size of the legend displayed in the widget. -func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) LegendSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { +// `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.LegendSize - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) } -// 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 { +// 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.LiveSpan + return v.SearchQuery }).(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) +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"` } -// 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) -} +// 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 -// 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) + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput } -// 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) +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"` } -// 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) +func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -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"` +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArgs and PowerpackWidgetTimeseriesDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} -type PowerpackWidgetTimeseriesDefinitionCustomLinkInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput - ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput } -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"` -} +type powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs -func (PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -// 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 +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionCustomLinkArray []PowerpackWidgetTimeseriesDefinitionCustomLinkInput +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return o } -func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return o } -type PowerpackWidgetTimeseriesDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return o +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { - return o +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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 facet name. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// Define the time interval in seconds. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +type PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery)(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 PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o } -type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput { + return o +} -func (PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryComputeQueryOutput) } -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { - return o +// 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) } -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) +// 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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionEventInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArgs and PowerpackWidgetTimeseriesDefinitionEventOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetTimeseriesDefinitionEventArgs{...} -type PowerpackWidgetTimeseriesDefinitionEventInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput - ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionEventArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionEventArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArray and PowerpackWidgetTimeseriesDefinitionEventArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionEventArray{ PowerpackWidgetTimeseriesDefinitionEventArgs{...} } -type PowerpackWidgetTimeseriesDefinitionEventArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput - ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetTimeseriesDefinitionEventArray []PowerpackWidgetTimeseriesDefinitionEventInput +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetTimeseriesDefinitionEventArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionEventOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionEventOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput { 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 facet name. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -type PowerpackWidgetTimeseriesDefinitionEventArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupByArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionMarkerInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArgs and PowerpackWidgetTimeseriesDefinitionMarkerOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} -type PowerpackWidgetTimeseriesDefinitionMarkerInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput - ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionMarkerArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) } -// PowerpackWidgetTimeseriesDefinitionMarkerArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArray and PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerArrayInput` via: +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: // -// PowerpackWidgetTimeseriesDefinitionMarkerArray{ PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} } -type PowerpackWidgetTimeseriesDefinitionMarkerArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput - ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetTimeseriesDefinitionMarkerArray []PowerpackWidgetTimeseriesDefinitionMarkerInput +type powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs -func (PowerpackWidgetTimeseriesDefinitionMarkerArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() +func PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Background()) +func (*powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionMarkerOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionMarkerOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { 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) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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 (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { - return o -} +type PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -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 (PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -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"` +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o } -// 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 +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o +} - ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput - ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQuery + return ret + }).(PowerpackWidgetSunburstDefinitionRequestRumQueryGroupBySortQueryOutput) } -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 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) } -func (PowerpackWidgetTimeseriesDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() +// 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) } -func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestOutput) +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArray and PowerpackWidgetTimeseriesDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestArray{ PowerpackWidgetTimeseriesDefinitionRequestArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput 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) + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetTimeseriesDefinitionRequestOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() +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 (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { - return o +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { - return o +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ApmQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) } -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) AuditQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) -} +// 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 -// 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) + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput } -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Formulas() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) -} +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeInput -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) LogQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -// 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) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) NetworkQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { - return v.NetworkQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) +func (i PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) } -// 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) -} +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -// 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 PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Queries() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput { + return o } -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) RumQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The query to use for this widget. -func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) SecurityQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestRumQueryMultiComputeArrayOutput { 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) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQuery struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy `pulumi:"groupBies"` + 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 []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute `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: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput `pulumi:"groupBies"` + 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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput -} + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput +} -type powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs +type powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) } // 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 (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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestApmQuery + var ret PowerpackWidgetSunburstDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { if v == nil { return nil } @@ -64889,18 +64387,18 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Index() pul } // `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 { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQuery) *string { if v == nil { return nil } @@ -64908,7 +64406,7 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -64917,18 +64415,18 @@ type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -64937,125 +64435,125 @@ type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) 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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -65064,8 +64562,8 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -65074,8 +64572,8 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } @@ -65083,124 +64581,124 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy struct { +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 *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs struct { +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupByArrayOutput { 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) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -65209,18 +64707,18 @@ type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -65229,127 +64727,127 @@ type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs stru Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs +type powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) 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) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -65358,8 +64856,8 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOut } // The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -65368,8 +64866,8 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOut } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -65377,7 +64875,7 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -65386,18 +64884,18 @@ type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs struct { +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -65406,1895 +64904,1859 @@ type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeInput -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() -} +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +} -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) 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) +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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestSecurityQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput` via: +// PowerpackWidgetSunburstDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestStyleArgs and PowerpackWidgetSunburstDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestStyleInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput interface { +// PowerpackWidgetSunburstDefinitionRequestStyleArgs{...} +type PowerpackWidgetSunburstDefinitionRequestStyleInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput + ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput + ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetSunburstDefinitionRequestStyleArgs) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStyleOutput).ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput` via: +// PowerpackWidgetSunburstDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetSunburstDefinitionRequestStyleArgs, PowerpackWidgetSunburstDefinitionRequestStylePtr and PowerpackWidgetSunburstDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetSunburstDefinitionRequestStylePtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} +// PowerpackWidgetSunburstDefinitionRequestStyleArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput interface { +type PowerpackWidgetSunburstDefinitionRequestStylePtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput + ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs +type powerpackWidgetSunburstDefinitionRequestStylePtrType PowerpackWidgetSunburstDefinitionRequestStyleArgs -func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType)(v) +func PowerpackWidgetSunburstDefinitionRequestStylePtr(v *PowerpackWidgetSunburstDefinitionRequestStyleArgs) PowerpackWidgetSunburstDefinitionRequestStylePtrInput { + return (*powerpackWidgetSunburstDefinitionRequestStylePtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() +func (*powerpackWidgetSunburstDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) +func (i *powerpackWidgetSunburstDefinitionRequestStylePtrType) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutput() PowerpackWidgetSunburstDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { +func (o PowerpackWidgetSunburstDefinitionRequestStyleOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetSunburstDefinitionRequestStyle) *PowerpackWidgetSunburstDefinitionRequestStyle { 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) + }).(PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) } -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(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) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetSunburstDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetSunburstDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutput() PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) ToPowerpackWidgetSunburstDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetSunburstDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { +func (o PowerpackWidgetSunburstDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetSunburstDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetSunburstDefinitionRequestStyle) PowerpackWidgetSunburstDefinitionRequestStyle { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQuery + var ret PowerpackWidgetSunburstDefinitionRequestStyle 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) + }).(PowerpackWidgetSunburstDefinitionRequestStyleOutput) } -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *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.SearchQuery + return v.Palette }).(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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs and PowerpackWidgetTimeseriesDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionArgs{...} +type PowerpackWidgetTimeseriesDefinitionInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput + ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionArgs) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionOutput).ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionArgs, PowerpackWidgetTimeseriesDefinitionPtr and PowerpackWidgetTimeseriesDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput + ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionPtrType PowerpackWidgetTimeseriesDefinitionArgs -func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionPtr(v *PowerpackWidgetTimeseriesDefinitionArgs) PowerpackWidgetTimeseriesDefinitionPtrInput { + return (*powerpackWidgetTimeseriesDefinitionPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionPtrType) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutput() PowerpackWidgetTimeseriesDefinitionOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinition) *PowerpackWidgetTimeseriesDefinition { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// 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 facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// 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) } -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { - 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 PowerpackWidgetTimeseriesDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) +// 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) } -// 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) +// 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) } -// 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) +// 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) } -// 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) +// 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) } -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"` +// The title of the widget. +func (o PowerpackWidgetTimeseriesDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinition) *string { return v.Title }).(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 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) } -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"` +// 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) } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// 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) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) -} +type PowerpackWidgetTimeseriesDefinitionPtrOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) +func (PowerpackWidgetTimeseriesDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinition)(nil)).Elem() } -// 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 +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutput() PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) ToPowerpackWidgetTimeseriesDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionPtrOutput { + return o +} -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) PowerpackWidgetTimeseriesDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinition + return ret + }).(PowerpackWidgetTimeseriesDefinitionOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { - 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 PowerpackWidgetTimeseriesDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(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) } -// 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 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 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) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { - return o +// 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) } -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) +// 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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArgs and PowerpackWidgetTimeseriesDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} +type PowerpackWidgetTimeseriesDefinitionCustomLinkInput 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() + ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput + ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArgs) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionCustomLinkArray and PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionCustomLinkArray{ PowerpackWidgetTimeseriesDefinitionCustomLinkArgs{...} } +type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput + ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionCustomLinkArray []PowerpackWidgetTimeseriesDefinitionCustomLinkInput -func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionCustomLinkArray) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkOutput { 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 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 aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// 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 facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(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) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput() PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionCustomLinkArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionEventInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArgs and PowerpackWidgetTimeseriesDefinitionEventOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionEventArgs{...} +type PowerpackWidgetTimeseriesDefinitionEventInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput + ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionEventArgs) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionEventArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionEventArray and PowerpackWidgetTimeseriesDefinitionEventArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionEventArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionEventArray{ PowerpackWidgetTimeseriesDefinitionEventArgs{...} } +type PowerpackWidgetTimeseriesDefinitionEventArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput + ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput +type PowerpackWidgetTimeseriesDefinitionEventArray []PowerpackWidgetTimeseriesDefinitionEventInput -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionEventArray) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionEventArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionEventOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutput() PowerpackWidgetTimeseriesDefinitionEventOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventOutput) ToPowerpackWidgetTimeseriesDefinitionEventOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventOutput { 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) +// 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) } -// 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 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 PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionEventArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionEvent)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutput() PowerpackWidgetTimeseriesDefinitionEventArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionEventArrayOutput) ToPowerpackWidgetTimeseriesDefinitionEventArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionEventArrayOutput { 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) +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 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 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaInput` via: +// PowerpackWidgetTimeseriesDefinitionMarkerInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArgs and PowerpackWidgetTimeseriesDefinitionMarkerOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaInput interface { +// PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} +type PowerpackWidgetTimeseriesDefinitionMarkerInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionMarkerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) +func (i PowerpackWidgetTimeseriesDefinitionMarkerArgs) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionMarkerArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionMarkerArray and PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionMarkerArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionMarkerArray{ PowerpackWidgetTimeseriesDefinitionMarkerArgs{...} } +type PowerpackWidgetTimeseriesDefinitionMarkerArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput + ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaInput +type PowerpackWidgetTimeseriesDefinitionMarkerArray []PowerpackWidgetTimeseriesDefinitionMarkerInput -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionMarkerArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionMarkerArray) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionMarkerOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionMarkerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutput() PowerpackWidgetTimeseriesDefinitionMarkerOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { +func (o PowerpackWidgetTimeseriesDefinitionMarkerOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerOutput { 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) +// 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) } -// The options for limiting results returned. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Limit() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) +// 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) } -// Styling options for widget formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Style() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) +// 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 PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionMarker)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutput() PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput) ToPowerpackWidgetTimeseriesDefinitionMarkerArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionMarkerArrayOutput { 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) +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 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 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArgs and PowerpackWidgetTimeseriesDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput + ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestArgs) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestArray and PowerpackWidgetTimeseriesDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestArray{ PowerpackWidgetTimeseriesDefinitionRequestArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetTimeseriesDefinitionRequestArray []PowerpackWidgetTimeseriesDefinitionRequestInput -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestArray) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestArray) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutput() PowerpackWidgetTimeseriesDefinitionRequestOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ToPowerpackWidgetTimeseriesDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestOutput { 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 query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) ApmQuery() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) } -// 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 query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) AuditQuery() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) } -// 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) +// 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) } -// 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 PowerpackWidgetTimeseriesDefinitionRequestOutput) Formulas() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) } -// 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 query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) LogQuery() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) } -// 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) +// 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 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 query to use for this widget. +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) NetworkQuery() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { + return v.NetworkQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(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 value for the comparator. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionRequestOutput) Queries() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequest) []PowerpackWidgetTimeseriesDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { +// 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 PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs +type powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// `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 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput 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 (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(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 PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { +// 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 PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit + var ret PowerpackWidgetTimeseriesDefinitionRequestApmQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryOutput) } -// The number of results to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { +// `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.Count - }).(pulumi.IntPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } -// 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 { +// 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.Order + 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) } -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"` +// `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) } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput` via: +// 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: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs +type powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle + var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *int { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryComputeQuery) *string { if v == nil { return nil } - return v.PaletteIndex + 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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput 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() + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByInput -func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) +// 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) } -// `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) +// 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) } -// 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) +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// `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) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupByArrayOutput { + return o } -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +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"` +} -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() +// 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 } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o +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 (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { - return o +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestLogQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -// `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 PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -67303,8 +66765,8 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } // The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -67312,311 +66774,351 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *int { +// 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.Interval - }).(pulumi.IntPtrOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy struct { +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute 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 *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval *int `pulumi:"interval"` } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // Define the time interval in seconds. + Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeInput -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestApmQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// `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) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(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) } -// 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) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// `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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *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.Aggregation - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *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.Facet - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) } -// 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 +// 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.Order + return &v.Index }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute struct { +// `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. @@ -67625,18 +67127,18 @@ type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -67645,418 +67147,447 @@ type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput` via: +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: // -// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput +type powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { +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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) 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) +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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryComputeQueryOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestMetadata struct { - // The expression alias. - AliasName *string `pulumi:"aliasName"` - // The expression name. - Expression string `pulumi:"expression"` +// 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) } -// PowerpackWidgetTimeseriesDefinitionRequestMetadataInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs and PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestMetadataInput` via: +// 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: // -// PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestMetadataInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput } -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs struct { - // The expression alias. - AliasName pulumi.StringPtrInput `pulumi:"aliasName"` - // The expression name. - Expression pulumi.StringInput `pulumi:"expression"` +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 (PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestMetadataArray and PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestMetadataArray{ PowerpackWidgetTimeseriesDefinitionRequestMetadataArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArray []PowerpackWidgetTimeseriesDefinitionRequestMetadataInput +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByInput -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestMetadataArray) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput { return o } -// The expression alias. -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) AliasName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) *string { return v.AliasName }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The expression name. -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) string { return v.Expression }).(pulumi.StringOutput) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupByArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) string { + return v.Aggregation + }).(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 facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Index + return v.Facet }).(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 { +// 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.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) + return &v.Order + }).(pulumi.StringPtrOutput) } -// 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 { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -68065,18 +67596,18 @@ type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -68085,2479 +67616,2297 @@ type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs stru 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 (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeInput -func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) 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) +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 PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestAuditQueryMultiComputeArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestFormulaArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaInput -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput { return o } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// An expression alias. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *string { return v.Alias }).(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 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) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() +// The options for limiting results returned. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaOutput) Limit() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormula) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { +// 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 PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaArrayOutput { 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput 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() + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatInput -func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(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 (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) +// 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) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(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) } -// 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) +// Displays an image as the background. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(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 PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o +// Defines the displayed timeframe. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { - return o +// A value for the comparator. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery - return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) +type PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// 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) +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 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs and PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput` via: +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: // -// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput +type powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { return o } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The number of results to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit) PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaLimit + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaLimitOutput) } -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"` +// 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) } -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput` via: +// 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: // -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput } -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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs, PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr and PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs -func PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtr(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleArgs) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) string { return v.Metric }).(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) } -// Your chosen search term. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { return v.SearchBy }).(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 PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle) PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestProcessQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestFormulaStyle return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestFormulaStyleOutput) } -// A list of processes. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []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.FilterBies - }).(pulumi.StringArrayOutput) + return v.Palette + }).(pulumi.StringPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *int { +// 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.Limit + return v.PaletteIndex }).(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) +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"` } -// 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) -} +// 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 -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"` + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput } -// 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 +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"` +} - ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -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 (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(context.Background()) } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArray and PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQueryArray []PowerpackWidgetTimeseriesDefinitionRequestQueryInput +type powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs -func (PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -// 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) +// `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) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) +// 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) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) +// 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 process query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) +// `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 SLO query using formulas and functions. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestLogQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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"` +// `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) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// 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: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) } -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.Service - }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// 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 { +// 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) } -// APM environment. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { +// 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.Env - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -// 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) +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 PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *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 } -// 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) +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"` } -// 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) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -// 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) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) } -// 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) +// 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 } -// 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByInput + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -// 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 +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return o } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput { + return o } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +// 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) } -// 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 +// 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 powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return o } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupByArrayOutput { + return o } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +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 PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +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"` } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return o -} +// 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 -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { - return o + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +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 (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) } -// APM environment. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// 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) -} +// 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 -// Name of operation on service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -// 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) -} +type powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs -// 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) +func PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// 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) +func (i *powerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// 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) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// 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) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(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) +// 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) } -// 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) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + 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 PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o } -// 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 +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery { + if v != nil { + return *v } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryOutput) } -// APM resource. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.ResourceName + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestLogQueryGroupBySortQuery) *string { if v == nil { return nil } - return &v.Service + return v.Facet }).(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 { +// 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.Stat + return &v.Order }).(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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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() + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeInput -func (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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) +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -// 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 (o PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return o } -// 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 PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestLogQueryMultiComputeArrayOutput { + return o } -// The cloud cost query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +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 PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestMetadata struct { + // The expression alias. + AliasName *string `pulumi:"aliasName"` + // The expression name. + Expression string `pulumi:"expression"` +} -func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +// 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 } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { +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 PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput { 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 expression alias. +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) AliasName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) *string { return v.AliasName }).(pulumi.StringPtrOutput) } -// 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 expression name. +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestMetadata) string { return v.Expression }).(pulumi.StringOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestMetadata)(nil)).Elem() } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { + return o } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestMetadataArrayOutput { + return o } -// 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) +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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - 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"` +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 (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +// `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) } -// Group by options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy { 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) } -// 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 name of the index to query. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) string { return v.Index }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) +// `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) } -// Storage location (private beta). -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQuery 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 source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { +// `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.DataSource - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -// Group by options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { +// 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 - }).(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) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { +// 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.Name + return &v.Index }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { +// `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.Search - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) } -// Storage location (private beta). -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { +// 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.Storage + return v.SearchQuery }).(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`. +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput } -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`. +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput` via: +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: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeInput +type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(context.Background()) } -// A time interval in milliseconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +// Define the time interval in seconds. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { +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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQuery + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryComputeQueryOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy struct { - // The event facet. - Facet string `pulumi:"facet"` - // The number of groups to return. +// 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"` - // The options for sorting group by results. - Sort *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs struct { - // The event facet. - Facet pulumi.StringInput `pulumi:"facet"` - // The number of groups to return. +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs 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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` + // A list of exactly one element describing the sort query to use. + SortQuery PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByInput -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput { return o } -// The event facet. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// 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 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) } -// The options for sorting group by results. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// 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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupByArrayOutput { 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) +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 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`. +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput } -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`. +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs +type powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) 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) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { return v.Facet }).(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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort + var ret PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryOutput) } -// 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 { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -70565,1617 +69914,2057 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrO }).(pulumi.StringPtrOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.Metric + return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { +// 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 + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput 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() + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeInput -func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// 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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestNetworkQueryMultiComputeArrayOutput { 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) +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 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput } -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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 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 (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// A list of processes. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -// 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 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) } -// 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) +// Your chosen metric. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// The metrics query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) string { return v.Query }).(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 PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestProcessQuery 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestProcessQueryOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { +// A list of processes. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { +// 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.DataSource - }).(pulumi.StringPtrOutput) + return v.Limit + }).(pulumi.IntPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { +// Your chosen metric. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Name + return &v.Metric }).(pulumi.StringPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { +// Your chosen search term. +func (o PowerpackWidgetTimeseriesDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestProcessQuery) *string { if v == nil { return nil } - return &v.Query + return v.SearchBy }).(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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryInput 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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() + ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryArray and PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput } -type powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestQueryArray []PowerpackWidgetTimeseriesDefinitionRequestQueryInput -func (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) +// 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 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 Cloud Cost query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) } -// 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) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) } -// 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 process query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) } -// 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 SLO query using formulas and functions. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) } -// The process metric name. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) -} +type PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -// 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) +func (PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQuery)(nil)).Elem() } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return o } -// 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryArrayOutput { + return o } -// 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) +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 PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { - return o +// 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 } -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { +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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) +} + +// 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 PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// 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 { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Aggregator + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { +// 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.CrossOrgUuids + return &v.DataSource }).(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 { +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *bool { +// 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.IsNormalizedCpu + return v.IsUpstream }).(pulumi.BoolPtrOutput) } -// The number of hits to return. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *int { +// 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.Limit - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { +// 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.Metric + return &v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *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.Name + return v.PrimaryTagName }).(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 { +// 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.Sort + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) []string { +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { +// APM service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.TextFilter + return &v.Service }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` +// 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 source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + 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 (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery { 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) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(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) +// 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) } -// 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) +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) string { return v.SloId }).(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) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(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) } -type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +// 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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o +// APM service. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { +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 PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *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.CrossOrgUuids + return &v.DataSource }).(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 { +// APM environment. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(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 { +// 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.GroupMode + 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) } -// 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 { +// 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.Measure + return v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Name + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { +// 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.SloId + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { +// APM resource. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.SloQueryType + return v.ResourceName }).(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"` +// 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) } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput` via: +// 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) } -// `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) +// 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) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// `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 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 search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The cloud cost query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestRumQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { +// 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.Index + return &v.DataSource }).(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 { +// 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.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { +// 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.SearchQuery + return &v.Query }).(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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput } -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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + 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 (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) 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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(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) +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +// Group by options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o +// 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 (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { - return o +// 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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { +// 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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.Facet + return &v.DataSource }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *int { +// Group by options. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuery) []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.GroupBies + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy struct { - // The facet name. - Facet *string `pulumi:"facet"` - // The maximum number of items in the group. +// 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"` - // A list of exactly one element describing the sort query to use. - SortQuery *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs struct { - // The facet name. - Facet pulumi.StringPtrInput `pulumi:"facet"` - // The maximum number of items in the group. +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs 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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + // The options for sorting group by results. + Sort PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByInput -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput { return o } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The event facet. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// 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) +// The number of groups to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *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) +// The options for sorting group by results. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupByArrayOutput { 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) +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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. +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 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. +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 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 (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) 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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) 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) +// 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) } -// 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) +// 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 PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -72183,2302 +71972,1951 @@ func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOut }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *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.Facet + return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *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.Order + 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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput } -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"` +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput` via: +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: // -// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput +type powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) +} -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { return o } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The events search string. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput { 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) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch) PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearch + return ret + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryEventQuerySearchOutput) } -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"` +// 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) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput` via: +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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: // -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) } -// `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) +// 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) } -// 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 source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// 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) +// 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) } -// `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 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 search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The metrics query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { +// 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.ComputeQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *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.Index + return v.DataSource }).(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 { +// 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.MultiComputes - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { +// The metrics query definition. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Query }).(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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput } -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"` +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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) 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 PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(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) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// 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 (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +// The number of hits to return. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { +// 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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { +// 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.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { +// 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.Interval - }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy 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 *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` -} - -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs 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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` -} - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) +// 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) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// 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) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +// 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) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return o +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) -} +// 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 -// The maximum number of items in the group. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { - return o +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery 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 PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs 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"` + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput } -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() -} +type powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType)(v) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (*powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i *powerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput +func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs - -func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return o } -func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return o } -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// 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) } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// 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 aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(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) } -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { - return v.Facet - }).(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) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTimeseriesDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *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.Order + return &v.DataSource }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute 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"` +// 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) } -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs 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 (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) -} - -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput` via: -// -// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput interface { - pulumi.Input - - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return o -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return o -} - -// The aggregation method. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) -} - -// Define the time interval in seconds. -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - 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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { - 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 PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. 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 PowerpackWidgetTimeseriesDefinitionRequestStyle 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"` +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"` } -// PowerpackWidgetTimeseriesDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestStyleArgs and PowerpackWidgetTimeseriesDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestStyleInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestStyleArgs{...} -type PowerpackWidgetTimeseriesDefinitionRequestStyleInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput - ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestStyleOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRequestStyleArgs 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 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 (PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestStyleOutput).ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestStyleArgs, PowerpackWidgetTimeseriesDefinitionRequestStylePtr and PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRequestStyleArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput - ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRequestStylePtrType PowerpackWidgetTimeseriesDefinitionRequestStyleArgs +type powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs -func PowerpackWidgetTimeseriesDefinitionRequestStylePtr(v *PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput { - return (*powerpackWidgetTimeseriesDefinitionRequestStylePtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRequestStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRequestStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestStyle) *PowerpackWidgetTimeseriesDefinitionRequestStyle { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) } -// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) LineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineType }).(pulumi.StringPtrOutput) +// `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) } -// The width of line displayed. Valid values are `normal`, `thick`, `thin`. -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) LineWidth() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineWidth }).(pulumi.StringPtrOutput) +// 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) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// 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) } -type PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } +// `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) +} -func (PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() +// The search query to use. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { +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 PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) PowerpackWidgetTimeseriesDefinitionRequestStyle { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRequestStyle + var ret PowerpackWidgetTimeseriesDefinitionRequestRumQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryOutput) } -// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. -func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) LineType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { +// `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.LineType - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The width of line displayed. Valid values are `normal`, `thick`, `thin`. -func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) LineWidth() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { +// 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.LineWidth + 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) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { +// `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.Palette + 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 PowerpackWidgetTimeseriesDefinitionRightYaxis 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 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"` } -// PowerpackWidgetTimeseriesDefinitionRightYaxisInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRightYaxisArgs and PowerpackWidgetTimeseriesDefinitionRightYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRightYaxisInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetTimeseriesDefinitionRightYaxisArgs{...} -type PowerpackWidgetTimeseriesDefinitionRightYaxisInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput - ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetTimeseriesDefinitionRightYaxisArgs 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 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 (PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRightYaxisOutput).ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRightYaxisArgs, PowerpackWidgetTimeseriesDefinitionRightYaxisPtr and PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTimeseriesDefinitionRightYaxisArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput - ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetTimeseriesDefinitionRightYaxisPtrType PowerpackWidgetTimeseriesDefinitionRightYaxisArgs +type powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetTimeseriesDefinitionRightYaxisPtr(v *PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput { - return (*powerpackWidgetTimeseriesDefinitionRightYaxisPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetTimeseriesDefinitionRightYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionRightYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionRightYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionRightYaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRightYaxis) *PowerpackWidgetTimeseriesDefinitionRightYaxis { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Scale }).(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 PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) PowerpackWidgetTimeseriesDefinitionRightYaxis { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetTimeseriesDefinitionRightYaxis + var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryOutput) } -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *bool { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The label of the axis to display on the graph. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryComputeQuery) *string { if v == nil { return nil } - return v.Label + return v.Facet }).(pulumi.StringPtrOutput) } -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { - if v == nil { - return nil - } - return v.Max - }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { - if v == nil { - return nil - } - return v.Min - }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { +// 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.Scale - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTimeseriesDefinitionYaxis 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 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"` } -// PowerpackWidgetTimeseriesDefinitionYaxisInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionYaxisArgs and PowerpackWidgetTimeseriesDefinitionYaxisOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionYaxisInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetTimeseriesDefinitionYaxisArgs{...} -type PowerpackWidgetTimeseriesDefinitionYaxisInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionYaxisOutput() PowerpackWidgetTimeseriesDefinitionYaxisOutput - ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionYaxisOutput -} - -type PowerpackWidgetTimeseriesDefinitionYaxisArgs 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 (PowerpackWidgetTimeseriesDefinitionYaxisArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput } -func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisOutput() PowerpackWidgetTimeseriesDefinitionYaxisOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Background()) +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 (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionYaxisOutput) +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionYaxisOutput).ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetTimeseriesDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionYaxisArgs, PowerpackWidgetTimeseriesDefinitionYaxisPtr and PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionYaxisPtrInput` via: -// -// PowerpackWidgetTimeseriesDefinitionYaxisArgs{...} -// -// or: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetTimeseriesDefinitionYaxisPtrInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput - ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput } -type powerpackWidgetTimeseriesDefinitionYaxisPtrType PowerpackWidgetTimeseriesDefinitionYaxisArgs - -func PowerpackWidgetTimeseriesDefinitionYaxisPtr(v *PowerpackWidgetTimeseriesDefinitionYaxisArgs) PowerpackWidgetTimeseriesDefinitionYaxisPtrInput { - return (*powerpackWidgetTimeseriesDefinitionYaxisPtrType)(v) -} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByInput -func (*powerpackWidgetTimeseriesDefinitionYaxisPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetTimeseriesDefinitionYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return i.ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTimeseriesDefinitionYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetTimeseriesDefinitionYaxisOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionYaxisOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisOutput() PowerpackWidgetTimeseriesDefinitionYaxisOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return o.ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionYaxis) *PowerpackWidgetTimeseriesDefinitionYaxis { - return &v - }).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Min }).(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) } -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) +// 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 PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionYaxisOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) PowerpackWidgetTimeseriesDefinitionYaxis { - if v != nil { - return *v - } - var ret PowerpackWidgetTimeseriesDefinitionYaxis - return ret - }).(PowerpackWidgetTimeseriesDefinitionYaxisOutput) -} - -// Always include zero or fit the axis to the data range. -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *bool { - if v == nil { - return nil - } - return v.IncludeZero - }).(pulumi.BoolPtrOutput) -} - -// The label of the axis to display on the graph. -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) -} - -// Specify the maximum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Max - }).(pulumi.StringPtrOutput) -} - -// Specify the minimum value to show on the Y-axis. -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Min - }).(pulumi.StringPtrOutput) -} - -// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. -func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { - if v == nil { - return nil - } - return v.Scale - }).(pulumi.StringPtrOutput) +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 PowerpackWidgetToplistDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetToplistDefinitionCustomLink `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 []PowerpackWidgetToplistDefinitionRequest `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 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"` } -// PowerpackWidgetToplistDefinitionInput is an input type that accepts PowerpackWidgetToplistDefinitionArgs and PowerpackWidgetToplistDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetToplistDefinitionArgs{...} -type PowerpackWidgetToplistDefinitionInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionOutput() PowerpackWidgetToplistDefinitionOutput - ToPowerpackWidgetToplistDefinitionOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetToplistDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetToplistDefinitionCustomLinkArrayInput `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 PowerpackWidgetToplistDefinitionRequestArrayInput `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 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 (PowerpackWidgetToplistDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionOutput() PowerpackWidgetToplistDefinitionOutput { - return i.ToPowerpackWidgetToplistDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionOutput).ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionArgs, PowerpackWidgetToplistDefinitionPtr and PowerpackWidgetToplistDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput - ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type powerpackWidgetToplistDefinitionPtrType PowerpackWidgetToplistDefinitionArgs +type powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs -func PowerpackWidgetToplistDefinitionPtr(v *PowerpackWidgetToplistDefinitionArgs) PowerpackWidgetToplistDefinitionPtrInput { - return (*powerpackWidgetToplistDefinitionPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinition)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionPtrType) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionPtrType) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionOutput() PowerpackWidgetToplistDefinitionOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinition) *PowerpackWidgetToplistDefinition { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { return &v - }).(PowerpackWidgetToplistDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionOutput) CustomLinks() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) -} - -// 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 PowerpackWidgetToplistDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *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 PowerpackWidgetToplistDefinitionOutput) Requests() PowerpackWidgetToplistDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionRequest { return v.Requests }).(PowerpackWidgetToplistDefinitionRequestArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetToplistDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetToplistDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetToplistDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.TitleSize }).(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 PowerpackWidgetToplistDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinition)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionPtrOutput) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionPtrOutput) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionPtrOutput) Elem() PowerpackWidgetToplistDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) PowerpackWidgetToplistDefinition { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinition + var ret PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery return ret - }).(PowerpackWidgetToplistDefinitionOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionPtrOutput) CustomLinks() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) -} - -// 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 PowerpackWidgetToplistDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *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 PowerpackWidgetToplistDefinitionPtrOutput) Requests() PowerpackWidgetToplistDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetToplistDefinitionRequestArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetToplistDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetToplistDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetToplistDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { +// 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.TitleSize + return &v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionCustomLink 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 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"` } -// PowerpackWidgetToplistDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetToplistDefinitionCustomLinkArgs and PowerpackWidgetToplistDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionCustomLinkInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetToplistDefinitionCustomLinkArgs{...} -type PowerpackWidgetToplistDefinitionCustomLinkInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionCustomLinkOutput() PowerpackWidgetToplistDefinitionCustomLinkOutput - ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionCustomLinkOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetToplistDefinitionCustomLinkArgs 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 (PowerpackWidgetToplistDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetToplistDefinitionCustomLinkArgs) ToPowerpackWidgetToplistDefinitionCustomLinkOutput() PowerpackWidgetToplistDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetToplistDefinitionCustomLinkArgs) ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionCustomLinkOutput) -} - -// PowerpackWidgetToplistDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionCustomLinkArray and PowerpackWidgetToplistDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionCustomLinkArrayInput` via: -// -// PowerpackWidgetToplistDefinitionCustomLinkArray{ PowerpackWidgetToplistDefinitionCustomLinkArgs{...} } -type PowerpackWidgetToplistDefinitionCustomLinkArrayInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutput() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput - ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionCustomLinkArrayOutput -} - -type PowerpackWidgetToplistDefinitionCustomLinkArray []PowerpackWidgetToplistDefinitionCustomLinkInput - -func (PowerpackWidgetToplistDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() -} - -func (i PowerpackWidgetToplistDefinitionCustomLinkArray) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutput() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetToplistDefinitionCustomLinkArray) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) -} - -type PowerpackWidgetToplistDefinitionCustomLinkOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) ToPowerpackWidgetToplistDefinitionCustomLinkOutput() PowerpackWidgetToplistDefinitionCustomLinkOutput { - return o -} - -func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkOutput { - return o -} - -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// The URL of the custom link. -func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *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 PowerpackWidgetToplistDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetToplistDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() -} - -func (o PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutput() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { - return o -} - -func (o PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionCustomLink { - return vs[0].([]PowerpackWidgetToplistDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionCustomLinkOutput) -} - -type PowerpackWidgetToplistDefinitionRequest struct { - // The query to use for this widget. - ApmQuery *PowerpackWidgetToplistDefinitionRequestApmQuery `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery *PowerpackWidgetToplistDefinitionRequestAuditQuery `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 []PowerpackWidgetToplistDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` - Formulas []PowerpackWidgetToplistDefinitionRequestFormula `pulumi:"formulas"` - // The query to use for this widget. - LogQuery *PowerpackWidgetToplistDefinitionRequestLogQuery `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery *PowerpackWidgetToplistDefinitionRequestProcessQuery `pulumi:"processQuery"` - // The metric query to use for this widget. - Q *string `pulumi:"q"` - Queries []PowerpackWidgetToplistDefinitionRequestQuery `pulumi:"queries"` - // The query to use for this widget. - RumQuery *PowerpackWidgetToplistDefinitionRequestRumQuery `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery *PowerpackWidgetToplistDefinitionRequestSecurityQuery `pulumi:"securityQuery"` - // Define request for the widget's style. - Style *PowerpackWidgetToplistDefinitionRequestStyle `pulumi:"style"` -} - -// PowerpackWidgetToplistDefinitionRequestInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestArgs and PowerpackWidgetToplistDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestInput` via: -// -// PowerpackWidgetToplistDefinitionRequestArgs{...} -type PowerpackWidgetToplistDefinitionRequestInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestOutput() PowerpackWidgetToplistDefinitionRequestOutput - ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestOutput -} - -type PowerpackWidgetToplistDefinitionRequestArgs struct { - // The query to use for this widget. - ApmQuery PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` - // The query to use for this widget. - AuditQuery PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput `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 PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` - Formulas PowerpackWidgetToplistDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - // The query to use for this widget. - LogQuery PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` - // The process query to use in the widget. The structure of this block is described below. - ProcessQuery PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` - // The metric query to use for this widget. - Q pulumi.StringPtrInput `pulumi:"q"` - Queries PowerpackWidgetToplistDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The query to use for this widget. - RumQuery PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` - // The query to use for this widget. - SecurityQuery PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` - // Define request for the widget's style. - Style PowerpackWidgetToplistDefinitionRequestStylePtrInput `pulumi:"style"` +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 (PowerpackWidgetToplistDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestArgs) ToPowerpackWidgetToplistDefinitionRequestOutput() PowerpackWidgetToplistDefinitionRequestOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestArgs) ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetToplistDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestArray and PowerpackWidgetToplistDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestArray{ PowerpackWidgetToplistDefinitionRequestArgs{...} } -type PowerpackWidgetToplistDefinitionRequestArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestArrayOutput() PowerpackWidgetToplistDefinitionRequestArrayOutput - ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetToplistDefinitionRequestArray []PowerpackWidgetToplistDefinitionRequestInput +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetToplistDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestArray) ToPowerpackWidgetToplistDefinitionRequestArrayOutput() PowerpackWidgetToplistDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestArray) ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestOutput) ToPowerpackWidgetToplistDefinitionRequestOutput() PowerpackWidgetToplistDefinitionRequestOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestOutput) ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput { return o } -// The query to use for this widget. -func (o PowerpackWidgetToplistDefinitionRequestOutput) ApmQuery() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestApmQuery { - return v.ApmQuery - }).(PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetToplistDefinitionRequestOutput) AuditQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestAuditQuery { - return v.AuditQuery - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) -} - -// 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 PowerpackWidgetToplistDefinitionRequestOutput) ConditionalFormats() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) []PowerpackWidgetToplistDefinitionRequestConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) -} - -func (o PowerpackWidgetToplistDefinitionRequestOutput) Formulas() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) []PowerpackWidgetToplistDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetToplistDefinitionRequestOutput) LogQuery() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestLogQuery { - return v.LogQuery - }).(PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) -} - -// The process query to use in the widget. The structure of this block is described below. -func (o PowerpackWidgetToplistDefinitionRequestOutput) ProcessQuery() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) -} - -// The metric query to use for this widget. -func (o PowerpackWidgetToplistDefinitionRequestOutput) Q() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) -} - -func (o PowerpackWidgetToplistDefinitionRequestOutput) Queries() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) []PowerpackWidgetToplistDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) -} - -// The query to use for this widget. -func (o PowerpackWidgetToplistDefinitionRequestOutput) RumQuery() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestRumQuery { - return v.RumQuery - }).(PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) +// The aggregation method. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The query to use for this widget. -func (o PowerpackWidgetToplistDefinitionRequestOutput) SecurityQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestSecurityQuery { - return v.SecurityQuery - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +// The facet name. +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Define request for the widget's style. -func (o PowerpackWidgetToplistDefinitionRequestOutput) Style() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestStyle { - return v.Style - }).(PowerpackWidgetToplistDefinitionRequestStylePtrOutput) +// 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 PowerpackWidgetToplistDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestArrayOutput) ToPowerpackWidgetToplistDefinitionRequestArrayOutput() PowerpackWidgetToplistDefinitionRequestArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestArrayOutput) ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequest { - return vs[0].([]PowerpackWidgetToplistDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestOutput) +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 PowerpackWidgetToplistDefinitionRequestApmQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + ComputeQuery *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + MultiComputes []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` // The search query to use. SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetToplistDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryArgs and PowerpackWidgetToplistDefinitionRequestApmQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestApmQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs struct { // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + ComputeQuery PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + MultiComputes PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` // The search query to use. SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryOutput).ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryArgs, PowerpackWidgetToplistDefinitionRequestApmQueryPtr and PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestApmQueryPtrType PowerpackWidgetToplistDefinitionRequestApmQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs -func PowerpackWidgetToplistDefinitionRequestApmQueryPtr(v *PowerpackWidgetToplistDefinitionRequestApmQueryArgs) PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestApmQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestApmQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestApmQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestApmQuery) *PowerpackWidgetToplistDefinitionRequestApmQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) 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 PowerpackWidgetToplistDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) *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 PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestApmQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) PowerpackWidgetToplistDefinitionRequestApmQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestApmQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestApmQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { if v == nil { return nil } @@ -74487,18 +73925,18 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) Index() pulumi } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQuery) *string { if v == nil { return nil } @@ -74506,7 +73944,7 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) SearchQuery() }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -74515,18 +73953,18 @@ type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -74535,125 +73973,127 @@ type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) 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 PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *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 PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -74662,8 +74102,8 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Ag } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } @@ -74672,8 +74112,8 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Fa } // Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryComputeQuery) *int { if v == nil { return nil } @@ -74681,124 +74121,124 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) In }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs{...} -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs{...} } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupByOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -74807,18 +74247,18 @@ type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -74827,125 +74267,129 @@ type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs struct Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs -func PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { + return v.Facet + }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -74954,8 +74398,8 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -74964,8 +74408,8 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -74973,7 +74417,7 @@ func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -74982,18 +74426,18 @@ type PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs struct { +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -75002,1887 +74446,2266 @@ type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) } -// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} } -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput - ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput } -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeInput -func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) string { + return v.Aggregation + }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +func (o PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetTimeseriesDefinitionRequestSecurityQueryMultiComputeOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestStyle 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"` } -// PowerpackWidgetToplistDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestStyleArgs and PowerpackWidgetTimeseriesDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestStyleInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestAuditQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRequestStyleArgs{...} +type PowerpackWidgetTimeseriesDefinitionRequestStyleInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput + ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestStyleOutput } -type PowerpackWidgetToplistDefinitionRequestAuditQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetTimeseriesDefinitionRequestStyleArgs 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 (PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryOutput).ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestStyleOutput).ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryArgs, PowerpackWidgetToplistDefinitionRequestAuditQueryPtr and PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRequestStyleArgs, PowerpackWidgetTimeseriesDefinitionRequestStylePtr and PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRequestStyleArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput + ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput } -type powerpackWidgetToplistDefinitionRequestAuditQueryPtrType PowerpackWidgetToplistDefinitionRequestAuditQueryArgs +type powerpackWidgetTimeseriesDefinitionRequestStylePtrType PowerpackWidgetTimeseriesDefinitionRequestStyleArgs -func PowerpackWidgetToplistDefinitionRequestAuditQueryPtr(v *PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestAuditQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRequestStylePtr(v *PowerpackWidgetTimeseriesDefinitionRequestStyleArgs) PowerpackWidgetTimeseriesDefinitionRequestStylePtrInput { + return (*powerpackWidgetTimeseriesDefinitionRequestStylePtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRequestStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRequestStylePtrType) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutput() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestAuditQuery) *PowerpackWidgetToplistDefinitionRequestAuditQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRequestStyle) *PowerpackWidgetTimeseriesDefinitionRequestStyle { return &v - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) +// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. +func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) LineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineType }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +// The width of line displayed. Valid values are `normal`, `thick`, `thin`. +func (o PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) LineWidth() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { return v.LineWidth }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(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 PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput() PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) ToPowerpackWidgetTimeseriesDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) PowerpackWidgetToplistDefinitionRequestAuditQuery { +func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) PowerpackWidgetTimeseriesDefinitionRequestStyle { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestAuditQuery + var ret PowerpackWidgetTimeseriesDefinitionRequestStyle return ret - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) -} - -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { - if v == nil { - return nil - } - return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) -} - -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) + }).(PowerpackWidgetTimeseriesDefinitionRequestStyleOutput) } -// The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) *string { +// The type of lines displayed. Valid values are `dashed`, `dotted`, `solid`. +func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) LineType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { if v == nil { return nil } - return &v.Index + return v.LineType }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute { +// The width of line displayed. Valid values are `normal`, `thick`, `thin`. +func (o PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) LineWidth() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) + return v.LineWidth + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) *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 PowerpackWidgetTimeseriesDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRequestStyle) *string { if v == nil { return nil } - return v.SearchQuery + return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery 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 PowerpackWidgetTimeseriesDefinitionRightYaxis 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"` } -// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryInput` via: +// PowerpackWidgetTimeseriesDefinitionRightYaxisInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRightYaxisArgs and PowerpackWidgetTimeseriesDefinitionRightYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRightYaxisInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryInput interface { +// PowerpackWidgetTimeseriesDefinitionRightYaxisArgs{...} +type PowerpackWidgetTimeseriesDefinitionRightYaxisInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput + ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisOutput } -type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs 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 PowerpackWidgetTimeseriesDefinitionRightYaxisArgs 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 (PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) +func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRightYaxisOutput).ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput` via: +// PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionRightYaxisArgs, PowerpackWidgetTimeseriesDefinitionRightYaxisPtr and PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} +// PowerpackWidgetTimeseriesDefinitionRightYaxisArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput interface { +type PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput + ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput } -type powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs +type powerpackWidgetTimeseriesDefinitionRightYaxisPtrType PowerpackWidgetTimeseriesDefinitionRightYaxisArgs -func PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType)(v) +func PowerpackWidgetTimeseriesDefinitionRightYaxisPtr(v *PowerpackWidgetTimeseriesDefinitionRightYaxisArgs) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrInput { + return (*powerpackWidgetTimeseriesDefinitionRightYaxisPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetTimeseriesDefinitionRightYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTimeseriesDefinitionRightYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) +func (i *powerpackWidgetTimeseriesDefinitionRightYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTimeseriesDefinitionRightYaxisOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionRightYaxis) *PowerpackWidgetTimeseriesDefinitionRightYaxis { return &v - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) + }).(PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The label of the axis to display on the graph. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { +type PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionRightYaxis)(nil)).Elem() +} + +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionRightYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) PowerpackWidgetTimeseriesDefinitionRightYaxis { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery + var ret PowerpackWidgetTimeseriesDefinitionRightYaxis return ret - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) + }).(PowerpackWidgetTimeseriesDefinitionRightYaxisOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *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 PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { + if v == nil { + return nil + } + return v.Label }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { if v == nil { return nil } - return v.Facet + return v.Max }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return v.Min + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetTimeseriesDefinitionRightYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionRightYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput` via: +type PowerpackWidgetTimeseriesDefinitionYaxis 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"` +} + +// PowerpackWidgetTimeseriesDefinitionYaxisInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionYaxisArgs and PowerpackWidgetTimeseriesDefinitionYaxisOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionYaxisInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs{...} -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput interface { +// PowerpackWidgetTimeseriesDefinitionYaxisArgs{...} +type PowerpackWidgetTimeseriesDefinitionYaxisInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetTimeseriesDefinitionYaxisOutput() PowerpackWidgetTimeseriesDefinitionYaxisOutput + ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionYaxisOutput } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +type PowerpackWidgetTimeseriesDefinitionYaxisArgs 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 (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTimeseriesDefinitionYaxisArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisOutput() PowerpackWidgetTimeseriesDefinitionYaxisOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) +func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionYaxisOutput) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput` via: +func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTimeseriesDefinitionYaxisArgs) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionYaxisOutput).ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTimeseriesDefinitionYaxisPtrInput is an input type that accepts PowerpackWidgetTimeseriesDefinitionYaxisArgs, PowerpackWidgetTimeseriesDefinitionYaxisPtr and PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTimeseriesDefinitionYaxisPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs{...} } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput interface { +// PowerpackWidgetTimeseriesDefinitionYaxisArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTimeseriesDefinitionYaxisPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput + ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput +type powerpackWidgetTimeseriesDefinitionYaxisPtrType PowerpackWidgetTimeseriesDefinitionYaxisArgs -func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +func PowerpackWidgetTimeseriesDefinitionYaxisPtr(v *PowerpackWidgetTimeseriesDefinitionYaxisArgs) PowerpackWidgetTimeseriesDefinitionYaxisPtrInput { + return (*powerpackWidgetTimeseriesDefinitionYaxisPtrType)(v) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTimeseriesDefinitionYaxisPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) +func (i *powerpackWidgetTimeseriesDefinitionYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return i.ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTimeseriesDefinitionYaxisPtrType) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +type PowerpackWidgetTimeseriesDefinitionYaxisOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionYaxisOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisOutput() PowerpackWidgetTimeseriesDefinitionYaxisOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisOutput { return o } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return o.ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(context.Background()) } -// The maximum number of items in the group. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTimeseriesDefinitionYaxis) *PowerpackWidgetTimeseriesDefinitionYaxis { + return &v + }).(PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *bool { return v.IncludeZero }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() +// The label of the axis to display on the graph. +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Max }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { - return o +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Min }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetTimeseriesDefinitionYaxisOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTimeseriesDefinitionYaxis) *string { return v.Scale }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery 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 PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTimeseriesDefinitionYaxis)(nil)).Elem() } -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput interface { - pulumi.Input +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutput() PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return o +} - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) ToPowerpackWidgetTimeseriesDefinitionYaxisPtrOutputWithContext(ctx context.Context) PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput { + return o } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs 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 PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Elem() PowerpackWidgetTimeseriesDefinitionYaxisOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) PowerpackWidgetTimeseriesDefinitionYaxis { + if v != nil { + return *v + } + var ret PowerpackWidgetTimeseriesDefinitionYaxis + return ret + }).(PowerpackWidgetTimeseriesDefinitionYaxisOutput) } -func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +// Always include zero or fit the axis to the data range. +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) IncludeZero() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *bool { + if v == nil { + return nil + } + return v.IncludeZero + }).(pulumi.BoolPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) +// The label of the axis to display on the graph. +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) +// Specify the maximum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Max() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Max + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Specify the minimum value to show on the Y-axis. +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Min() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Min + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) +// Specify the scale type, options: `linear`, `log`, `pow`, `sqrt`. +func (o PowerpackWidgetTimeseriesDefinitionYaxisPtrOutput) Scale() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTimeseriesDefinitionYaxis) *string { + if v == nil { + return nil + } + return v.Scale + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: +type PowerpackWidgetToplistDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetToplistDefinitionCustomLink `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 []PowerpackWidgetToplistDefinitionRequest `pulumi:"requests"` + // The style of the widget + Styles []PowerpackWidgetToplistDefinitionStyle `pulumi:"styles"` + // 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"` +} + +// PowerpackWidgetToplistDefinitionInput is an input type that accepts PowerpackWidgetToplistDefinitionArgs and PowerpackWidgetToplistDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +// PowerpackWidgetToplistDefinitionArgs{...} +type PowerpackWidgetToplistDefinitionInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionOutput() PowerpackWidgetToplistDefinitionOutput + ToPowerpackWidgetToplistDefinitionOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionOutput +} + +type PowerpackWidgetToplistDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetToplistDefinitionCustomLinkArrayInput `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 PowerpackWidgetToplistDefinitionRequestArrayInput `pulumi:"requests"` + // The style of the widget + Styles PowerpackWidgetToplistDefinitionStyleArrayInput `pulumi:"styles"` + // 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 (PowerpackWidgetToplistDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinition)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionOutput() PowerpackWidgetToplistDefinitionOutput { + return i.ToPowerpackWidgetToplistDefinitionOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionOutput) +} + +func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionArgs) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionOutput).ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionArgs, PowerpackWidgetToplistDefinitionPtr and PowerpackWidgetToplistDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionPtrInput` via: +// +// PowerpackWidgetToplistDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput + ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionPtrOutput } -type powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs +type powerpackWidgetToplistDefinitionPtrType PowerpackWidgetToplistDefinitionArgs -func PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionPtr(v *PowerpackWidgetToplistDefinitionArgs) PowerpackWidgetToplistDefinitionPtrInput { + return (*powerpackWidgetToplistDefinitionPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinition)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionPtrType) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionPtrType) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinition)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionOutput() PowerpackWidgetToplistDefinitionOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionOutput) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinition) *PowerpackWidgetToplistDefinition { return &v - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionOutput) CustomLinks() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *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 PowerpackWidgetToplistDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(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 PowerpackWidgetToplistDefinitionOutput) Requests() PowerpackWidgetToplistDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionRequest { return v.Requests }).(PowerpackWidgetToplistDefinitionRequestArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +// The style of the widget +func (o PowerpackWidgetToplistDefinitionOutput) Styles() PowerpackWidgetToplistDefinitionStyleArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionStyle { return v.Styles }).(PowerpackWidgetToplistDefinitionStyleArrayOutput) +} -func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() +// The title of the widget. +func (o PowerpackWidgetToplistDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetToplistDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +} + +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetToplistDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinition)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionPtrOutput) ToPowerpackWidgetToplistDefinitionPtrOutput() PowerpackWidgetToplistDefinitionPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionPtrOutput) ToPowerpackWidgetToplistDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionPtrOutput) Elem() PowerpackWidgetToplistDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) PowerpackWidgetToplistDefinition { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery + var ret PowerpackWidgetToplistDefinition return ret - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) + }).(PowerpackWidgetToplistDefinitionOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionPtrOutput) CustomLinks() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionCustomLink { if v == nil { return nil } - return &v.Aggregation + return v.CustomLinks + }).(PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) +} + +// 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 PowerpackWidgetToplistDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *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 PowerpackWidgetToplistDefinitionPtrOutput) Requests() PowerpackWidgetToplistDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionRequest { if v == nil { return nil } - return v.Facet + return v.Requests + }).(PowerpackWidgetToplistDefinitionRequestArrayOutput) +} + +// The style of the widget +func (o PowerpackWidgetToplistDefinitionPtrOutput) Styles() PowerpackWidgetToplistDefinitionStyleArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) []PowerpackWidgetToplistDefinitionStyle { + if v == nil { + return nil + } + return v.Styles + }).(PowerpackWidgetToplistDefinitionStyleArrayOutput) +} + +// The title of the widget. +func (o PowerpackWidgetToplistDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.Title }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetToplistDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { if v == nil { return nil } - return &v.Order + return v.TitleAlign }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute 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 PowerpackWidgetToplistDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinition) *string { + if v == nil { + return nil + } + return v.TitleSize + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput` via: +type PowerpackWidgetToplistDefinitionCustomLink 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"` +} + +// PowerpackWidgetToplistDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetToplistDefinitionCustomLinkArgs and PowerpackWidgetToplistDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionCustomLinkInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput interface { +// PowerpackWidgetToplistDefinitionCustomLinkArgs{...} +type PowerpackWidgetToplistDefinitionCustomLinkInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionCustomLinkOutput() PowerpackWidgetToplistDefinitionCustomLinkOutput + ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionCustomLinkOutput } -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs 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 PowerpackWidgetToplistDefinitionCustomLinkArgs 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 (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionCustomLinkArgs) ToPowerpackWidgetToplistDefinitionCustomLinkOutput() PowerpackWidgetToplistDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) +func (i PowerpackWidgetToplistDefinitionCustomLinkArgs) ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionCustomLinkOutput) } -// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput` via: +// PowerpackWidgetToplistDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionCustomLinkArray and PowerpackWidgetToplistDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} } -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput interface { +// PowerpackWidgetToplistDefinitionCustomLinkArray{ PowerpackWidgetToplistDefinitionCustomLinkArgs{...} } +type PowerpackWidgetToplistDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput - ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutput() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput + ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionCustomLinkArrayOutput } -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput +type PowerpackWidgetToplistDefinitionCustomLinkArray []PowerpackWidgetToplistDefinitionCustomLinkInput -func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionCustomLinkArray) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutput() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) +func (i PowerpackWidgetToplistDefinitionCustomLinkArray) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) ToPowerpackWidgetToplistDefinitionCustomLinkOutput() PowerpackWidgetToplistDefinitionCustomLinkOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) ToPowerpackWidgetToplistDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkOutput { return o } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The label for the custom link URL. +func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The URL of the custom link. +func (o PowerpackWidgetToplistDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput 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 PowerpackWidgetToplistDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetToplistDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutput() PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) ToPowerpackWidgetToplistDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) +func (o PowerpackWidgetToplistDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionCustomLink { + return vs[0].([]PowerpackWidgetToplistDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionCustomLinkOutput) } -type PowerpackWidgetToplistDefinitionRequestConditionalFormat 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 PowerpackWidgetToplistDefinitionRequest struct { + // The query to use for this widget. + ApmQuery *PowerpackWidgetToplistDefinitionRequestApmQuery `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery *PowerpackWidgetToplistDefinitionRequestAuditQuery `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 []PowerpackWidgetToplistDefinitionRequestConditionalFormat `pulumi:"conditionalFormats"` + Formulas []PowerpackWidgetToplistDefinitionRequestFormula `pulumi:"formulas"` + // The query to use for this widget. + LogQuery *PowerpackWidgetToplistDefinitionRequestLogQuery `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery *PowerpackWidgetToplistDefinitionRequestProcessQuery `pulumi:"processQuery"` + // The metric query to use for this widget. + Q *string `pulumi:"q"` + Queries []PowerpackWidgetToplistDefinitionRequestQuery `pulumi:"queries"` + // The query to use for this widget. + RumQuery *PowerpackWidgetToplistDefinitionRequestRumQuery `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery *PowerpackWidgetToplistDefinitionRequestSecurityQuery `pulumi:"securityQuery"` + // Define request for the widget's style. + Style *PowerpackWidgetToplistDefinitionRequestStyle `pulumi:"style"` } -// PowerpackWidgetToplistDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs and PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestConditionalFormatInput` via: +// PowerpackWidgetToplistDefinitionRequestInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestArgs and PowerpackWidgetToplistDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestInput` via: // -// PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs{...} -type PowerpackWidgetToplistDefinitionRequestConditionalFormatInput interface { +// PowerpackWidgetToplistDefinitionRequestArgs{...} +type PowerpackWidgetToplistDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput - ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput -} - -type PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs 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 (PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() -} - -func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) + ToPowerpackWidgetToplistDefinitionRequestOutput() PowerpackWidgetToplistDefinitionRequestOutput + ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestOutput } -// PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestConditionalFormatArray and PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput` via: -// -// PowerpackWidgetToplistDefinitionRequestConditionalFormatArray{ PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs{...} } -type PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput interface { +type PowerpackWidgetToplistDefinitionRequestArgs struct { + // The query to use for this widget. + ApmQuery PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput `pulumi:"apmQuery"` + // The query to use for this widget. + AuditQuery PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput `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 PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput `pulumi:"conditionalFormats"` + Formulas PowerpackWidgetToplistDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + // The query to use for this widget. + LogQuery PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput `pulumi:"logQuery"` + // The process query to use in the widget. The structure of this block is described below. + ProcessQuery PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput `pulumi:"processQuery"` + // The metric query to use for this widget. + Q pulumi.StringPtrInput `pulumi:"q"` + Queries PowerpackWidgetToplistDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The query to use for this widget. + RumQuery PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput `pulumi:"rumQuery"` + // The query to use for this widget. + SecurityQuery PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput `pulumi:"securityQuery"` + // Define request for the widget's style. + Style PowerpackWidgetToplistDefinitionRequestStylePtrInput `pulumi:"style"` +} + +func (PowerpackWidgetToplistDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionRequestArgs) ToPowerpackWidgetToplistDefinitionRequestOutput() PowerpackWidgetToplistDefinitionRequestOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestArgs) ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestOutput) +} + +// PowerpackWidgetToplistDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestArray and PowerpackWidgetToplistDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestArrayInput` via: +// +// PowerpackWidgetToplistDefinitionRequestArray{ PowerpackWidgetToplistDefinitionRequestArgs{...} } +type PowerpackWidgetToplistDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput - ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetToplistDefinitionRequestArrayOutput() PowerpackWidgetToplistDefinitionRequestArrayOutput + ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestArrayOutput } -type PowerpackWidgetToplistDefinitionRequestConditionalFormatArray []PowerpackWidgetToplistDefinitionRequestConditionalFormatInput +type PowerpackWidgetToplistDefinitionRequestArray []PowerpackWidgetToplistDefinitionRequestInput -func (PowerpackWidgetToplistDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestArray) ToPowerpackWidgetToplistDefinitionRequestArrayOutput() PowerpackWidgetToplistDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestArray) ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetToplistDefinitionRequestOutput) ToPowerpackWidgetToplistDefinitionRequestOutput() PowerpackWidgetToplistDefinitionRequestOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { +func (o PowerpackWidgetToplistDefinitionRequestOutput) ToPowerpackWidgetToplistDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestOutput { return o } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +// The query to use for this widget. +func (o PowerpackWidgetToplistDefinitionRequestOutput) ApmQuery() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestApmQuery { + return v.ApmQuery + }).(PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetToplistDefinitionRequestOutput) AuditQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestAuditQuery { + return v.AuditQuery + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) +// 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 PowerpackWidgetToplistDefinitionRequestOutput) ConditionalFormats() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) []PowerpackWidgetToplistDefinitionRequestConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) } -// Setting this to True hides values. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestOutput) Formulas() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) []PowerpackWidgetToplistDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) } -// Displays an image as the background. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +// The query to use for this widget. +func (o PowerpackWidgetToplistDefinitionRequestOutput) LogQuery() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestLogQuery { + return v.LogQuery + }).(PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The process query to use in the widget. The structure of this block is described below. +func (o PowerpackWidgetToplistDefinitionRequestOutput) ProcessQuery() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) } -// 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 PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The metric query to use for this widget. +func (o PowerpackWidgetToplistDefinitionRequestOutput) Q() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *string { return v.Q }).(pulumi.StringPtrOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestOutput) Queries() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) []PowerpackWidgetToplistDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) } -// A value for the comparator. -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// The query to use for this widget. +func (o PowerpackWidgetToplistDefinitionRequestOutput) RumQuery() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestRumQuery { + return v.RumQuery + }).(PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } +// The query to use for this widget. +func (o PowerpackWidgetToplistDefinitionRequestOutput) SecurityQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestSecurityQuery { + return v.SecurityQuery + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +// Define request for the widget's style. +func (o PowerpackWidgetToplistDefinitionRequestOutput) Style() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequest) *PowerpackWidgetToplistDefinitionRequestStyle { + return v.Style + }).(PowerpackWidgetToplistDefinitionRequestStylePtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { +type PowerpackWidgetToplistDefinitionRequestArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequest)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestArrayOutput) ToPowerpackWidgetToplistDefinitionRequestArrayOutput() PowerpackWidgetToplistDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestArrayOutput) ToPowerpackWidgetToplistDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestConditionalFormat { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) +func (o PowerpackWidgetToplistDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequest { + return vs[0].([]PowerpackWidgetToplistDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestOutput) } -type PowerpackWidgetToplistDefinitionRequestFormula 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 []PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetToplistDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetToplistDefinitionRequestFormulaStyle `pulumi:"style"` +type PowerpackWidgetToplistDefinitionRequestApmQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetToplistDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaArgs and PowerpackWidgetToplistDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaInput` via: +// PowerpackWidgetToplistDefinitionRequestApmQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryArgs and PowerpackWidgetToplistDefinitionRequestApmQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestFormulaArgs{...} -type PowerpackWidgetToplistDefinitionRequestFormulaInput interface { +// PowerpackWidgetToplistDefinitionRequestApmQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestApmQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestFormulaOutput() PowerpackWidgetToplistDefinitionRequestFormulaOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryOutput } -type PowerpackWidgetToplistDefinitionRequestFormulaArgs 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 PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type PowerpackWidgetToplistDefinitionRequestApmQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetToplistDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestFormulaArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaOutput() PowerpackWidgetToplistDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaOutput) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryOutput) } -// PowerpackWidgetToplistDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaArray and PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaArrayInput` via: +func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestApmQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryOutput).ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryArgs, PowerpackWidgetToplistDefinitionRequestApmQueryPtr and PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestFormulaArray{ PowerpackWidgetToplistDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetToplistDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestApmQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput } -type PowerpackWidgetToplistDefinitionRequestFormulaArray []PowerpackWidgetToplistDefinitionRequestFormulaInput +type powerpackWidgetToplistDefinitionRequestApmQueryPtrType PowerpackWidgetToplistDefinitionRequestApmQueryArgs -func (PowerpackWidgetToplistDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestApmQueryPtr(v *PowerpackWidgetToplistDefinitionRequestApmQueryArgs) PowerpackWidgetToplistDefinitionRequestApmQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestApmQueryPtrType)(v) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaArray) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestApmQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestFormulaArray) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) +func (i *powerpackWidgetToplistDefinitionRequestApmQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetToplistDefinitionRequestApmQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestApmQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaOutput() PowerpackWidgetToplistDefinitionRequestFormulaOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryOutput { return o } -// An expression alias. -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(context.Background()) } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestApmQuery) *PowerpackWidgetToplistDefinitionRequestApmQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) } -// 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 PowerpackWidgetToplistDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) []PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) } -// The options for limiting results returned. -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) Limit() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *PowerpackWidgetToplistDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) string { return v.Index }).(pulumi.StringOutput) } -// Styling options for widget formulas. -func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) Style() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *PowerpackWidgetToplistDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestFormulaOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestApmQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) PowerpackWidgetToplistDefinitionRequestApmQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestApmQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestApmQueryOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat 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"` +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs 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 name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) []PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute { + if v == nil { + return nil + } + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQuery) *string { + if v == nil { + return nil + } + return v.SearchQuery + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) +type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery 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"` } -// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput } -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput - -func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs 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 PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) } -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return o +func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return o +func (i PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx) } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput` via: +// +// PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) +type powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs + +func PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType)(v) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() } -// Setting this to True hides values. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -// Displays an image as the background. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(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 PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return o } -// Defines the displayed timeframe. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return o } -// A value for the comparator. -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaLimit 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 method. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs and PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaLimitInput` via: -// -// PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetToplistDefinitionRequestFormulaLimitInput interface { - pulumi.Input +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs 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 PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery `pulumi:"sortQuery"` } -func (PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput` via: +// +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs{...} +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput } -func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) } -// PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs, PowerpackWidgetToplistDefinitionRequestFormulaLimitPtr and PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs{...} -// -// or: +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput` via: // -// nil -type PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput interface { +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArgs{...} } +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput } -type powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs - -func PowerpackWidgetToplistDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType)(v) -} +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestApmQueryGroupByInput -func (*powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestFormulaLimit) *PowerpackWidgetToplistDefinitionRequestFormulaLimit { - return &v - }).(PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The number of results to return. -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaLimit) PowerpackWidgetToplistDefinitionRequestFormulaLimit { - if v != nil { - return *v - } - var ret PowerpackWidgetToplistDefinitionRequestFormulaLimit - return ret - }).(PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaLimit) *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 PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaLimit) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestApmQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupByOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaStyle 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 PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery 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"` } -// PowerpackWidgetToplistDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs and PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaStyleInput` via: +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetToplistDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutput() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput } -type PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs 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 PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs 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 (PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutput() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs, PowerpackWidgetToplistDefinitionRequestFormulaStylePtr and PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput` via: +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs{...} +// PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput interface { +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestFormulaStylePtrType PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs +type powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs -func PowerpackWidgetToplistDefinitionRequestFormulaStylePtr(v *PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetToplistDefinitionRequestFormulaStylePtrType)(v) +func PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutput() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestFormulaStyle) *PowerpackWidgetToplistDefinitionRequestFormulaStyle { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) } -// 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 PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} -func (PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaStyle) PowerpackWidgetToplistDefinitionRequestFormulaStyle { +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestFormulaStyle + var ret PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) + }).(PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryOutput) } -// 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 PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaStyle) *string { +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *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 PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaStyle) *int { +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { if v == nil { return nil } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) + return v.Facet + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestApmQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryArgs and PowerpackWidgetToplistDefinitionRequestLogQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryInput` via: +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute 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"` +} + +// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestLogQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryOutput -} - -type PowerpackWidgetToplistDefinitionRequestLogQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` + ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput } -func (PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs 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 PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Background()) +func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryOutput).ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx) +// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArgs{...} } +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput } -// PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryArgs, PowerpackWidgetToplistDefinitionRequestLogQueryPtr and PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput` via: +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeInput + +func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) +} + +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return o +} + +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +} + +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestApmQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestApmQueryMultiComputeOutput) +} + +type PowerpackWidgetToplistDefinitionRequestAuditQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` +} + +// PowerpackWidgetToplistDefinitionRequestAuditQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestAuditQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestAuditQueryInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryOutput +} + +type PowerpackWidgetToplistDefinitionRequestAuditQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +} + +func (PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) +} + +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryOutput).ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryArgs, PowerpackWidgetToplistDefinitionRequestAuditQueryPtr and PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput` via: +// +// PowerpackWidgetToplistDefinitionRequestAuditQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestLogQueryPtrType PowerpackWidgetToplistDefinitionRequestLogQueryArgs +type powerpackWidgetToplistDefinitionRequestAuditQueryPtrType PowerpackWidgetToplistDefinitionRequestAuditQueryArgs -func PowerpackWidgetToplistDefinitionRequestLogQueryPtr(v *PowerpackWidgetToplistDefinitionRequestLogQueryArgs) PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestLogQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestAuditQueryPtr(v *PowerpackWidgetToplistDefinitionRequestAuditQueryArgs) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestAuditQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestAuditQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestLogQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestLogQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestAuditQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestLogQuery) *PowerpackWidgetToplistDefinitionRequestLogQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestAuditQuery) *PowerpackWidgetToplistDefinitionRequestAuditQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy { return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) string { return v.Index }).(pulumi.StringOutput) } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute { return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestLogQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) PowerpackWidgetToplistDefinitionRequestLogQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestAuditQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) PowerpackWidgetToplistDefinitionRequestAuditQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestLogQuery + var ret PowerpackWidgetToplistDefinitionRequestAuditQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestLogQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryOutput) } // `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { if v == nil { return nil } return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) } // Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy { if v == nil { return nil } return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) } // The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) *string { if v == nil { return nil } @@ -76891,18 +76714,18 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) Index() pulumi } // `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute { if v == nil { return nil } return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) } // The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQuery) *string { if v == nil { return nil } @@ -76910,7 +76733,7 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) SearchQuery() }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -76919,18 +76742,18 @@ type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput } -type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -76939,125 +76762,125 @@ type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs +type powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs -func PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery + var ret PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -77066,8 +76889,8 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Ag } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *string { if v == nil { return nil } @@ -77076,8 +76899,8 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Fa } // Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryComputeQuery) *int { if v == nil { return nil } @@ -77085,124 +76908,124 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) In }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` + SortQuery *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs{...} -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput interface { +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs{...} +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` + SortQuery PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) } -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs{...} } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArgs{...} } +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByInput -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { return o } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } // The maximum number of items in the group. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } // A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { return v.SortQuery - }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupByOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -77211,18 +77034,18 @@ type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery struct { Order string `pulumi:"order"` } -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -77231,125 +77054,125 @@ type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs struct Order pulumi.StringInput `pulumi:"order"` } -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs +type powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs -func PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery + var ret PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryOutput) } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -77358,8 +77181,8 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -77368,8 +77191,8 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput } // Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestAuditQueryGroupBySortQuery) *string { if v == nil { return nil } @@ -77377,7 +77200,7 @@ func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute struct { // The aggregation method. Aggregation string `pulumi:"aggregation"` // The facet name. @@ -77386,18 +77209,18 @@ type PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute struct { Interval *int `pulumi:"interval"` } -// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput interface { +// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput } -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs struct { +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs struct { // The aggregation method. Aggregation pulumi.StringInput `pulumi:"aggregation"` // The facet name. @@ -77406,3610 +77229,3599 @@ type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs struct { Interval pulumi.IntPtrInput `pulumi:"interval"` } -func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) } -// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} } -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArgs{...} } +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput - ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput } -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeInput -func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { return o } // The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } // The facet name. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } // Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) +func (o PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestAuditQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestAuditQueryMultiComputeOutput) } -type PowerpackWidgetToplistDefinitionRequestProcessQuery 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 PowerpackWidgetToplistDefinitionRequestConditionalFormat 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"` } -// PowerpackWidgetToplistDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestProcessQueryArgs and PowerpackWidgetToplistDefinitionRequestProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestProcessQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestConditionalFormatInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs and PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestConditionalFormatInput` via: // -// PowerpackWidgetToplistDefinitionRequestProcessQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestProcessQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs{...} +type PowerpackWidgetToplistDefinitionRequestConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput - ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryOutput -} - -type PowerpackWidgetToplistDefinitionRequestProcessQueryArgs 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 (PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() + ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput + ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput } -func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs 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 PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) +func (PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestProcessQueryOutput).ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) } -// PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestProcessQueryArgs, PowerpackWidgetToplistDefinitionRequestProcessQueryPtr and PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestProcessQueryArgs{...} -// -// or: +// PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestConditionalFormatArray and PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput interface { +// PowerpackWidgetToplistDefinitionRequestConditionalFormatArray{ PowerpackWidgetToplistDefinitionRequestConditionalFormatArgs{...} } +type PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput + ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput } -type powerpackWidgetToplistDefinitionRequestProcessQueryPtrType PowerpackWidgetToplistDefinitionRequestProcessQueryArgs - -func PowerpackWidgetToplistDefinitionRequestProcessQueryPtr(v *PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestProcessQueryPtrType)(v) -} +type PowerpackWidgetToplistDefinitionRequestConditionalFormatArray []PowerpackWidgetToplistDefinitionRequestConditionalFormatInput -func (*powerpackWidgetToplistDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestProcessQuery) *PowerpackWidgetToplistDefinitionRequestProcessQuery { - return &v - }).(PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomBgColor }).(pulumi.StringPtrOutput) } -// A list of processes. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.CustomFgColor }).(pulumi.StringPtrOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Setting this to True hides values. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -// Your chosen metric. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// Displays an image as the background. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -// Your chosen search term. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } +// 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 PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +} -func (PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +// Defines the displayed timeframe. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { - return o +// A value for the comparator. +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { +type PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestConditionalFormat)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) PowerpackWidgetToplistDefinitionRequestProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetToplistDefinitionRequestProcessQuery - return ret - }).(PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput { + return o } -// A list of processes. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) []string { - if v == nil { - return nil - } - return v.FilterBies - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetToplistDefinitionRequestConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestConditionalFormat { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestConditionalFormatOutput) } -// The max number of items in the filter list. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) +type PowerpackWidgetToplistDefinitionRequestFormula 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 []PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetToplistDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetToplistDefinitionRequestFormulaStyle `pulumi:"style"` } -// Your chosen metric. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) +// PowerpackWidgetToplistDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaArgs and PowerpackWidgetToplistDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaInput` via: +// +// PowerpackWidgetToplistDefinitionRequestFormulaArgs{...} +type PowerpackWidgetToplistDefinitionRequestFormulaInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestFormulaOutput() PowerpackWidgetToplistDefinitionRequestFormulaOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaOutput } -// Your chosen search term. -func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) *string { - if v == nil { - return nil - } - return v.SearchBy - }).(pulumi.StringPtrOutput) +type PowerpackWidgetToplistDefinitionRequestFormulaArgs 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 PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -type PowerpackWidgetToplistDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetToplistDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetToplistDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +func (PowerpackWidgetToplistDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() } -// PowerpackWidgetToplistDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryInput interface { - pulumi.Input +func (i PowerpackWidgetToplistDefinitionRequestFormulaArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaOutput() PowerpackWidgetToplistDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(context.Background()) +} - ToPowerpackWidgetToplistDefinitionRequestQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryOutput +func (i PowerpackWidgetToplistDefinitionRequestFormulaArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` -} - -func (PowerpackWidgetToplistDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() -} - -func (i PowerpackWidgetToplistDefinitionRequestQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetToplistDefinitionRequestQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryOutput) -} - -// PowerpackWidgetToplistDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryArray and PowerpackWidgetToplistDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaArray and PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryArray{ PowerpackWidgetToplistDefinitionRequestQueryArgs{...} } -type PowerpackWidgetToplistDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestFormulaArray{ PowerpackWidgetToplistDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetToplistDefinitionRequestFormulaArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput - ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryArrayOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput } -type PowerpackWidgetToplistDefinitionRequestQueryArray []PowerpackWidgetToplistDefinitionRequestQueryInput +type PowerpackWidgetToplistDefinitionRequestFormulaArray []PowerpackWidgetToplistDefinitionRequestFormulaInput -func (PowerpackWidgetToplistDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryArray) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestFormulaArray) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryArray) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaArray) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaOutput() PowerpackWidgetToplistDefinitionRequestFormulaOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaOutput { return o } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +// An expression alias. +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) } -// A timeseries formula and functions events query. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +// 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 PowerpackWidgetToplistDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) []PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) } -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -// The process query using formulas and functions. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +// The options for limiting results returned. +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) Limit() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *PowerpackWidgetToplistDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) } -// The SLO query using formulas and functions. -func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +// Styling options for widget formulas. +func (o PowerpackWidgetToplistDefinitionRequestFormulaOutput) Style() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormula) *PowerpackWidgetToplistDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormula)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestQueryOutput) +func (o PowerpackWidgetToplistDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestFormulaOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat 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"` } -// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput -} - -type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 (PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() + ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs 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 PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -// -// or: +// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// nil -type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +// PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput } -type powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs - -func PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) -} +type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatInput -func (*powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { - return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor }).(pulumi.StringPtrOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) +// Setting this to True hides values. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -// APM environment. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) +// Displays an image as the background. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(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 PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -// Name of operation on service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(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 PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// A value for the comparator. +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +type PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// APM resource. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// APM service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput { + return o } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestFormulaConditionalFormatOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestFormulaLimit 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"` +} -func (PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +// PowerpackWidgetToplistDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs and PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaLimitInput` via: +// +// PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetToplistDefinitionRequestFormulaLimitInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o +type PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs 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 PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o +func (PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery - return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -// APM environment. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) +// PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs, PowerpackWidgetToplistDefinitionRequestFormulaLimitPtr and PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput` via: +// +// PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +type powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs + +func PowerpackWidgetToplistDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetToplistDefinitionRequestFormulaLimitArgs) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType)(v) } -// Name of operation on service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.OperationName - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaLimit)(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 PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) } -// APM resource. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil +type PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestFormulaLimit) *PowerpackWidgetToplistDefinitionRequestFormulaLimit { + return &v + }).(PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) +} + +// The number of results to return. +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaLimit)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaLimit) PowerpackWidgetToplistDefinitionRequestFormulaLimit { + if v != nil { + return *v } - return &v.ResourceName - }).(pulumi.StringPtrOutput) + var ret PowerpackWidgetToplistDefinitionRequestFormulaLimit + return ret + }).(PowerpackWidgetToplistDefinitionRequestFormulaLimitOutput) } -// APM service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The number of results to return. +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return &v.Service - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetToplistDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaLimit) *string { if v == nil { return nil } - return &v.Stat + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetToplistDefinitionRequestFormulaStyle 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"` } -// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs and PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetToplistDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutput() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput } -type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs 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 (PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutput() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs, PowerpackWidgetToplistDefinitionRequestFormulaStylePtr and PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs +type powerpackWidgetToplistDefinitionRequestFormulaStylePtrType PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs -func PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestFormulaStylePtr(v *PowerpackWidgetToplistDefinitionRequestFormulaStyleArgs) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetToplistDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutput() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestFormulaStyle) *PowerpackWidgetToplistDefinitionRequestFormulaStyle { return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Array of fields to group results by. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *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 PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} - -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) -} - -// APM resource. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) } -// APM service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(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 PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { +func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaStyle) PowerpackWidgetToplistDefinitionRequestFormulaStyle { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery + var ret PowerpackWidgetToplistDefinitionRequestFormulaStyle return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestFormulaStyleOutput) } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *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 PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaStyle) *string { if v == nil { return nil } - return &v.DataSource + return v.Palette }).(pulumi.StringPtrOutput) } -// APM environment. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { +// Index specifying which color to use within the palette. +func (o PowerpackWidgetToplistDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestFormulaStyle) *int { if v == nil { return nil } - return &v.Env - }).(pulumi.StringPtrOutput) + return v.PaletteIndex + }).(pulumi.IntPtrOutput) } -// Array of fields to group results by. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) +type PowerpackWidgetToplistDefinitionRequestLogQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetToplistDefinitionRequestLogQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryArgs and PowerpackWidgetToplistDefinitionRequestLogQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryInput` via: +// +// PowerpackWidgetToplistDefinitionRequestLogQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestLogQueryInput interface { + pulumi.Input -// Name of operation on service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetToplistDefinitionRequestLogQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryOutput } -// 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 PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetToplistDefinitionRequestLogQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() } -// APM resource. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(context.Background()) } -// APM service. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryOutput) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetToplistDefinitionRequestLogQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryOutput).ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryArgs, PowerpackWidgetToplistDefinitionRequestLogQueryPtr and PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput } -type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 powerpackWidgetToplistDefinitionRequestLogQueryPtrType PowerpackWidgetToplistDefinitionRequestLogQueryArgs -func (PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestLogQueryPtr(v *PowerpackWidgetToplistDefinitionRequestLogQueryArgs) PowerpackWidgetToplistDefinitionRequestLogQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestLogQueryPtrType)(v) } -func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestLogQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) +func (i *powerpackWidgetToplistDefinitionRequestLogQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestLogQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) -} +type PowerpackWidgetToplistDefinitionRequestLogQueryOutput struct{ *pulumi.OutputState } -// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput -} - -type powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType)(v) -} - -func (*powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() -} - -func (i *powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} - -func (i *powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestLogQuery) *PowerpackWidgetToplistDefinitionRequestLogQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) string { return v.Index }).(pulumi.StringOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestLogQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) PowerpackWidgetToplistDefinitionRequestLogQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery + var ret PowerpackWidgetToplistDefinitionRequestLogQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestLogQueryOutput) } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { if v == nil { return nil } - return v.Aggregator - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy { if v == nil { return nil } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Index }).(pulumi.StringPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) []PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) } -// The cloud cost query definition. -func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQuery) *string { if v == nil { return nil } - return &v.Query + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy `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 *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery 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"` } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs 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 (PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs +type powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs -func PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) -} - -// The compute options. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) -} - -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) -} - -// Group by options. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The search options. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) PowerpackWidgetToplistDefinitionRequestQueryEventQuery { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestQueryEventQuery + var ret PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) -} - -// The compute options. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute { - if v == nil { - return nil - } - return v.Computes - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Aggregation }).(pulumi.StringPtrOutput) } -// Group by options. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - if v == nil { - return nil - } - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) -} - -// An array of index names to query in the stream. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []string { - if v == nil { - return nil - } - return v.Indexes - }).(pulumi.StringArrayOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *string { if v == nil { return nil } - return &v.Name + return v.Facet }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { - if v == nil { - return nil - } - return v.Search - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) -} - -// Storage location (private beta). -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryComputeQuery) *int { if v == nil { return nil } - return v.Storage - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute 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 PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs{...} +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs 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 PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArgs{...} } +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestLogQueryGroupByInput -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A time interval in milliseconds. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestLogQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupByOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery 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"` } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput` via: +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs 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 (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput` via: +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput +type powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i *powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { return o } -// The event facet. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The number of groups to return. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { +type PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort 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"` +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput interface { - pulumi.Input +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestLogQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs 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 PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute 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 (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput` via: +// +// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} +type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) +func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: +// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput` via: // -// nil -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { +// PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArgs{...} } +type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput } -type powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs - -func PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) -} +type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeInput -func (*powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} - -// 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The metric used for sorting group by results. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) -} - -// 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) -} - -// The metric used for sorting group by results. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) -} - -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestLogQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestLogQueryMultiComputeOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +type PowerpackWidgetToplistDefinitionRequestProcessQuery 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"` } -// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetToplistDefinitionRequestProcessQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestProcessQueryArgs and PowerpackWidgetToplistDefinitionRequestProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestProcessQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetToplistDefinitionRequestProcessQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput + ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryOutput } -type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetToplistDefinitionRequestProcessQueryArgs 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 (PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) +func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestProcessQueryOutput).ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestProcessQueryArgs, PowerpackWidgetToplistDefinitionRequestProcessQueryPtr and PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} +// PowerpackWidgetToplistDefinitionRequestProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs +type powerpackWidgetToplistDefinitionRequestProcessQueryPtrType PowerpackWidgetToplistDefinitionRequestProcessQueryArgs -func PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestProcessQueryPtr(v *PowerpackWidgetToplistDefinitionRequestProcessQueryArgs) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestProcessQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestProcessQuery) *PowerpackWidgetToplistDefinitionRequestProcessQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) } -// The events search string. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// A list of processes. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) []string { return v.FilterBies }).(pulumi.StringArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +// The max number of items in the filter list. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// Your chosen metric. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { +// Your chosen search term. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestProcessQuery) *string { return v.SearchBy }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) PowerpackWidgetToplistDefinitionRequestProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch + var ret PowerpackWidgetToplistDefinitionRequestProcessQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) + }).(PowerpackWidgetToplistDefinitionRequestProcessQueryOutput) } -// The events search string. -func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) *string { +// A list of processes. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) FilterBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) []string { if v == nil { return nil } - return &v.Query - }).(pulumi.StringPtrOutput) + return v.FilterBies + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 max number of items in the filter list. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryMetricQueryInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryInput interface { - pulumi.Input +// Your chosen metric. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput +// Your chosen search term. +func (o PowerpackWidgetToplistDefinitionRequestProcessQueryPtrOutput) SearchBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestProcessQuery) *string { + if v == nil { + return nil + } + return v.SearchBy + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetToplistDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetToplistDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetToplistDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -func (PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +// PowerpackWidgetToplistDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryOutput } -func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` } -func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) +func (PowerpackWidgetToplistDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryOutput) } -// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} -// -// or: +// PowerpackWidgetToplistDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryArray and PowerpackWidgetToplistDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryArrayInput` via: // -// nil -type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryArray{ PowerpackWidgetToplistDefinitionRequestQueryArgs{...} } +type PowerpackWidgetToplistDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput + ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryArrayOutput } -type powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs - -func PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType)(v) -} +type PowerpackWidgetToplistDefinitionRequestQueryArray []PowerpackWidgetToplistDefinitionRequestQueryInput -func (*powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryArray) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryArray) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery { - return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) } -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetToplistDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuery) *PowerpackWidgetToplistDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) PowerpackWidgetToplistDefinitionRequestQueryMetricQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetToplistDefinitionRequestQueryMetricQuery - return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.DataSource - }).(pulumi.StringPtrOutput) -} - -// The name of the query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) -} - -// The metrics query definition. -func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestQueryOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` +type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // 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"` + // 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"` } -// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` +type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for process queries. Valid values are `process`, `container`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // 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"` + // 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 (PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs -func PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +// APM environment. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// The number of hits to return. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) } -// The process metric name. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +// Name of operation on service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(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 PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// APM resource. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +// APM service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} -func (PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { +type PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) PowerpackWidgetToplistDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestQueryProcessQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Aggregator + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// APM environment. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *bool { +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } - return v.IsNormalizedCpu + return v.IsUpstream }).(pulumi.BoolPtrOutput) } -// The number of hits to return. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *int { +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Limit - }).(pulumi.IntPtrOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The process metric name. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// Name of operation on service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Metric + return &v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *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 PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Name + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Sort + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) []string { +// APM resource. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.TagFilters - }).(pulumi.StringArrayOutput) + return &v.ResourceName + }).(pulumi.StringPtrOutput) } -// The text to use as a filter. -func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { +// APM service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.TextFilter + return &v.Service }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + 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"` } -// PowerpackWidgetToplistDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs and PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` +type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. 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"` + // 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.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + 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 (PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs, PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtr and PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *PowerpackWidgetToplistDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +// Array of fields to group results by. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// Name of operation on service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(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 PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { +// APM service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) PowerpackWidgetToplistDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestQuerySloQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// APM environment. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// Array of fields to group results by. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) []string { if v == nil { return nil } - return v.GroupMode - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(pulumi.StringArrayOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Measure + return &v.Name }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// Name of operation on service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.Name + return v.OperationName }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *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 PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.SloId + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.SloQueryType + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// APM resource. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryArgs and PowerpackWidgetToplistDefinitionRequestRumQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryInput` via: -// -// PowerpackWidgetToplistDefinitionRequestRumQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestRumQueryInput interface { - pulumi.Input +// APM service. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) +} - ToPowerpackWidgetToplistDefinitionRequestRumQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryOutput +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryOutput) +func (PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryOutput).ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) } -// PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryArgs, PowerpackWidgetToplistDefinitionRequestRumQueryPtr and PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput` via: +func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestRumQueryPtrType PowerpackWidgetToplistDefinitionRequestRumQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs -func PowerpackWidgetToplistDefinitionRequestRumQueryPtr(v *PowerpackWidgetToplistDefinitionRequestRumQueryArgs) PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestRumQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestRumQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestRumQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestRumQuery) *PowerpackWidgetToplistDefinitionRequestRumQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The cloud cost query definition. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestRumQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) PowerpackWidgetToplistDefinitionRequestRumQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestRumQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestRumQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) *string { +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return &v.Index + return &v.DataSource }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute { +// The name of the query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) *string { +// The cloud cost query definition. +func (o PowerpackWidgetToplistDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery 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 PowerpackWidgetToplistDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy `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 *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput } -type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` } -func (PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs -func PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) +// The compute options. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *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`, `incidentAnalytics`. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// Group by options. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) +} -func (PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() +// An array of index names to query in the stream. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The search options. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +} + +// Storage location (private beta). +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) PowerpackWidgetToplistDefinitionRequestQueryEventQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryEventQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { +// The compute options. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute { if v == nil { return nil } - return &v.Aggregation - }).(pulumi.StringPtrOutput) + return v.Computes + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` +// Group by options. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) } -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput` via: -// -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs{...} -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput +// An array of index names to query in the stream. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +// The search options. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) +// Storage location (private beta). +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute 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"` } -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs{...} } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs 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 (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayInput interface { + pulumi.Input -func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeInput + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { return o } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy) *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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// The maximum number of items in the group. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +// The measurable attribute to compute. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryComputeOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery struct { - // The aggregation method. +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +} + +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` +} + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) +} + +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayInput interface { + pulumi.Input + + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByInput + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { + return o +} + +// The event facet. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) +} + +// The number of groups to return. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +} + +// The options for sorting group by results. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupByOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort 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"` } -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs struct { - // The aggregation method. +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs 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 (PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs -func PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The metric used for sorting group by results. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort return ret - }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *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 PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } @@ -81017,8183 +80829,8212 @@ func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { +// The metric used for sorting group by results. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.Facet + return v.Metric }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return &v.Order + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute 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 PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch struct { + // The events search string. + Query string `pulumi:"query"` } -// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput } -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs 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 PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. + Query pulumi.StringInput `pulumi:"query"` } -func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) } -// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} } -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput - ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput } -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput +type powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs -func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { return o } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { + return &v + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The events search string. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch + return ret + }).(PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQuery struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` - // The search query to use. - SearchQuery *string `pulumi:"searchQuery"` +// The events search string. +func (o PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryInput` via: +type PowerpackWidgetToplistDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` +} + +// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryMetricQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestSecurityQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs struct { - // `computeQuery` or `multiCompute` is required. The map keys are listed below. - ComputeQuery PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` - // Multiple `groupBy` blocks are allowed using the structure below. - GroupBies PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` - // The search query to use. - SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` +type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs, PowerpackWidgetToplistDefinitionRequestSecurityQueryPtr and PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs -func PowerpackWidgetToplistDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestSecurityQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { - return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute { - return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +// The name of the query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -// The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) +// The metrics query definition. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) PowerpackWidgetToplistDefinitionRequestSecurityQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) PowerpackWidgetToplistDefinitionRequestQueryMetricQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestSecurityQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryMetricQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryMetricQueryOutput) } -// `computeQuery` or `multiCompute` is required. The map keys are listed below. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.ComputeQuery - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// Multiple `groupBy` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The name of the index to query. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) *string { +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return &v.Index + return v.DataSource }).(pulumi.StringPtrOutput) } -// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute { +// The name of the query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.MultiComputes - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) + return &v.Name + }).(pulumi.StringPtrOutput) } -// The search query to use. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) *string { +// The metrics query definition. +func (o PowerpackWidgetToplistDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryMetricQuery) *string { if v == nil { return nil } - return v.SearchQuery + return &v.Query }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery 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 PowerpackWidgetToplistDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryProcessQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs 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 PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} +// PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput } -type powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs +type powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs -func PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery { return &v - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) 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 PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() +// The number of hits to return. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { +// The process metric name. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +} + +// An array of tags to filter by. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +} + +// The text to use as a filter. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQueryProcessQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) PowerpackWidgetToplistDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery + var ret PowerpackWidgetToplistDefinitionRequestQueryProcessQuery return ret - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) + }).(PowerpackWidgetToplistDefinitionRequestQueryProcessQueryOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.Aggregator }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Facet + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.Interval - }).(pulumi.IntPtrOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *bool { + if v == nil { + return nil + } + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput` via: -// -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{...} -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput interface { - pulumi.Input +// The number of hits to return. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *int { + if v == nil { + return nil + } + return v.Limit + }).(pulumi.IntPtrOutput) +} - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput +// The process metric name. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Metric + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) +// An array of tags to filter by. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) []string { + if v == nil { + return nil + } + return v.TagFilters + }).(pulumi.StringArrayOutput) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) +// The text to use as a filter. +func (o PowerpackWidgetToplistDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.TextFilter + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput` via: -// -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{...} } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput +type PowerpackWidgetToplistDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput +// PowerpackWidgetToplistDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs and PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQuerySloQueryInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestQuerySloQueryInput interface { + pulumi.Input -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() + ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) +type PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) +func (PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() +func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return o +func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return o +func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// The maximum number of items in the group. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) -} +// PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs, PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtr and PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput` via: +// +// PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput interface { + pulumi.Input -// A list of exactly one element describing the sort query to use. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - return v.SortQuery - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) + ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() -} +type powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return o +func PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetToplistDefinitionRequestQuerySloQueryArgs) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType)(v) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { - return o +func (*powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) +func (i *powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery 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 *powerpackWidgetToplistDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput` via: -// -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput interface { - pulumi.Input +type PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput +func (PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs 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 PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { + return o } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { + return o } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *PowerpackWidgetToplistDefinitionRequestQuerySloQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) } -type powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +} -func PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { - return (*powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) } -func (*powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +// ID of an SLO to query. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) } -func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - return &v - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) -} - -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) string { - return v.Aggregation - }).(pulumi.StringOutput) -} - -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) PowerpackWidgetToplistDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestQuerySloQueryOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +// Additional filters applied to the SLO query. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { - return o +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { - if v != nil { - return *v +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil } - var ret PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery - return ret - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) + return &v.Measure + }).(pulumi.StringPtrOutput) } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// The name of query for use in formulas. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.Aggregation + return v.Name }).(pulumi.StringPtrOutput) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// ID of an SLO to query. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.Facet + return &v.SloId }).(pulumi.StringPtrOutput) } -// Widget sorting methods. Valid values are `asc`, `desc`. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetToplistDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return &v.Order + return v.SloQueryType }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute 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 PowerpackWidgetToplistDefinitionRequestRumQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryArgs and PowerpackWidgetToplistDefinitionRequestRumQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryInput` via: // -// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestRumQueryInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryOutput } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs 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 PowerpackWidgetToplistDefinitionRequestRumQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryOutput) } -// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestRumQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryOutput).ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryArgs, PowerpackWidgetToplistDefinitionRequestRumQueryPtr and PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput` via: // -// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput - ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput +type powerpackWidgetToplistDefinitionRequestRumQueryPtrType PowerpackWidgetToplistDefinitionRequestRumQueryArgs -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestRumQueryPtr(v *PowerpackWidgetToplistDefinitionRequestRumQueryArgs) PowerpackWidgetToplistDefinitionRequestRumQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestRumQueryPtrType)(v) } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestRumQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() } -func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) +func (i *powerpackWidgetToplistDefinitionRequestRumQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetToplistDefinitionRequestRumQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) +} -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestRumQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryOutput { return o } -// The aggregation method. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(context.Background()) } -// The facet name. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestRumQuery) *PowerpackWidgetToplistDefinitionRequestRumQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) } -// Define the time interval in seconds. -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) -} - -type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() -} - -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { - return o -} - -func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute { - return vs[0].([]PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] - }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) -} - -type PowerpackWidgetToplistDefinitionRequestStyle 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"` -} - -// PowerpackWidgetToplistDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestStyleArgs and PowerpackWidgetToplistDefinitionRequestStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestStyleInput` via: -// -// PowerpackWidgetToplistDefinitionRequestStyleArgs{...} -type PowerpackWidgetToplistDefinitionRequestStyleInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestStyleOutput() PowerpackWidgetToplistDefinitionRequestStyleOutput - ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestStyleOutput -} - -type PowerpackWidgetToplistDefinitionRequestStyleArgs 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 (PowerpackWidgetToplistDefinitionRequestStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() -} - -func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStyleOutput() PowerpackWidgetToplistDefinitionRequestStyleOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestStyleOutput) -} - -func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) -} - -func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestStyleOutput).ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx) -} - -// PowerpackWidgetToplistDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestStyleArgs, PowerpackWidgetToplistDefinitionRequestStylePtr and PowerpackWidgetToplistDefinitionRequestStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestStylePtrInput` via: -// -// PowerpackWidgetToplistDefinitionRequestStyleArgs{...} -// -// or: -// -// nil -type PowerpackWidgetToplistDefinitionRequestStylePtrInput interface { - pulumi.Input - - ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput - ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) } -type powerpackWidgetToplistDefinitionRequestStylePtrType PowerpackWidgetToplistDefinitionRequestStyleArgs - -func PowerpackWidgetToplistDefinitionRequestStylePtr(v *PowerpackWidgetToplistDefinitionRequestStyleArgs) PowerpackWidgetToplistDefinitionRequestStylePtrInput { - return (*powerpackWidgetToplistDefinitionRequestStylePtrType)(v) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) } -func (*powerpackWidgetToplistDefinitionRequestStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) string { return v.Index }).(pulumi.StringOutput) } -func (i *powerpackWidgetToplistDefinitionRequestStylePtrType) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return i.ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) } -func (i *powerpackWidgetToplistDefinitionRequestStylePtrType) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestStylePtrOutput) +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetToplistDefinitionRequestStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetToplistDefinitionRequestStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQuery)(nil)).Elem() } -func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStyleOutput() PowerpackWidgetToplistDefinitionRequestStyleOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStyleOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput { return o } -func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return o.ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestStyle) *PowerpackWidgetToplistDefinitionRequestStyle { - return &v - }).(PowerpackWidgetToplistDefinitionRequestStylePtrOutput) -} - -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestRumQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) PowerpackWidgetToplistDefinitionRequestRumQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestRumQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestRumQueryOutput) } -type PowerpackWidgetToplistDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetToplistDefinitionRequestStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { + if v == nil { + return nil + } + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return o +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) } -func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { - return o +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) *string { + if v == nil { + return nil + } + return &v.Index + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestStyle) PowerpackWidgetToplistDefinitionRequestStyle { - if v != nil { - return *v +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) []PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute { + if v == nil { + return nil } - var ret PowerpackWidgetToplistDefinitionRequestStyle - return ret - }).(PowerpackWidgetToplistDefinitionRequestStyleOutput) + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) } -// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. -func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestStyle) *string { +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQuery) *string { if v == nil { return nil } - return v.Palette + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTopologyMapDefinition struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks []PowerpackWidgetTopologyMapDefinitionCustomLink `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 []PowerpackWidgetTopologyMapDefinitionRequest `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 PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery 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"` } -// PowerpackWidgetTopologyMapDefinitionInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionArgs and PowerpackWidgetTopologyMapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryInput` via: // -// PowerpackWidgetTopologyMapDefinitionArgs{...} -type PowerpackWidgetTopologyMapDefinitionInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionOutput() PowerpackWidgetTopologyMapDefinitionOutput - ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput } -type PowerpackWidgetTopologyMapDefinitionArgs struct { - // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. - CustomLinks PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput `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 PowerpackWidgetTopologyMapDefinitionRequestArrayInput `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 PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs 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 (PowerpackWidgetTopologyMapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionOutput() PowerpackWidgetTopologyMapDefinitionOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) } -func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionOutput).ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTopologyMapDefinitionPtrInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionArgs, PowerpackWidgetTopologyMapDefinitionPtr and PowerpackWidgetTopologyMapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTopologyMapDefinitionArgs{...} +// PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetTopologyMapDefinitionPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput - ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput } -type powerpackWidgetTopologyMapDefinitionPtrType PowerpackWidgetTopologyMapDefinitionArgs +type powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs -func PowerpackWidgetTopologyMapDefinitionPtr(v *PowerpackWidgetTopologyMapDefinitionArgs) PowerpackWidgetTopologyMapDefinitionPtrInput { - return (*powerpackWidgetTopologyMapDefinitionPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetTopologyMapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTopologyMapDefinition)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetTopologyMapDefinitionPtrType) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTopologyMapDefinitionPtrType) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) } -type PowerpackWidgetTopologyMapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTopologyMapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionOutput() PowerpackWidgetTopologyMapDefinitionOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { - return o.ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTopologyMapDefinition) *PowerpackWidgetTopologyMapDefinition { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { return &v - }).(PowerpackWidgetTopologyMapDefinitionPtrOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetTopologyMapDefinitionOutput) CustomLinks() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionCustomLink { - return v.CustomLinks - }).(PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) -} - -// 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 PowerpackWidgetTopologyMapDefinitionOutput) Requests() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionRequest { - return v.Requests - }).(PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetTopologyMapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetTopologyMapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetTopologyMapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTopologyMapDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTopologyMapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTopologyMapDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) Elem() PowerpackWidgetTopologyMapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) PowerpackWidgetTopologyMapDefinition { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetTopologyMapDefinition + var ret PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery return ret - }).(PowerpackWidgetTopologyMapDefinitionOutput) -} - -// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. -func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) CustomLinks() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionCustomLink { - if v == nil { - return nil - } - return v.CustomLinks - }).(PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) -} - -// 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 PowerpackWidgetTopologyMapDefinitionPtrOutput) Requests() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionRequest { - if v == nil { - return nil - } - return v.Requests - }).(PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) + }).(PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryOutput) } -// The title of the widget. -func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) *string { +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *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 PowerpackWidgetTopologyMapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) *string { +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *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 PowerpackWidgetTopologyMapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) *string { +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryComputeQuery) *int { if v == nil { return nil } - return v.TitleSize - }).(pulumi.StringPtrOutput) + return v.Interval + }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTopologyMapDefinitionCustomLink 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 PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery `pulumi:"sortQuery"` } -// PowerpackWidgetTopologyMapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionCustomLinkArgs and PowerpackWidgetTopologyMapDefinitionCustomLinkOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionCustomLinkInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput` via: // -// PowerpackWidgetTopologyMapDefinitionCustomLinkArgs{...} -type PowerpackWidgetTopologyMapDefinitionCustomLinkInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs{...} +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkOutput - ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput } -type PowerpackWidgetTopologyMapDefinitionCustomLinkArgs 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 PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetTopologyMapDefinitionCustomLinkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArgs) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArgs) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) } -// PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionCustomLinkArray and PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput` via: // -// PowerpackWidgetTopologyMapDefinitionCustomLinkArray{ PowerpackWidgetTopologyMapDefinitionCustomLinkArgs{...} } -type PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArgs{...} } +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput - ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput } -type PowerpackWidgetTopologyMapDefinitionCustomLinkArray []PowerpackWidgetTopologyMapDefinitionCustomLinkInput +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestRumQueryGroupByInput -func (PowerpackWidgetTopologyMapDefinitionCustomLinkArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArray) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArray) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) } -type PowerpackWidgetTopologyMapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { return o } -// The flag for toggling context menu link visibility. -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) -} - -// The label for the custom link URL. -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The URL of the custom link. -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy) *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 PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTopologyMapDefinitionCustomLink { - return vs[0].([]PowerpackWidgetTopologyMapDefinitionCustomLink)[vs[1].(int)] - }).(PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestRumQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupByOutput) } -type PowerpackWidgetTopologyMapDefinitionRequest struct { - // The query for a Topology request. - Queries []PowerpackWidgetTopologyMapDefinitionRequestQuery `pulumi:"queries"` - // The request type for the Topology request ('topology'). Valid values are `topology`. - RequestType string `pulumi:"requestType"` +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery 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"` } -// PowerpackWidgetTopologyMapDefinitionRequestInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestArgs and PowerpackWidgetTopologyMapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput` via: // -// PowerpackWidgetTopologyMapDefinitionRequestArgs{...} -type PowerpackWidgetTopologyMapDefinitionRequestInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionRequestOutput() PowerpackWidgetTopologyMapDefinitionRequestOutput - ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput } -type PowerpackWidgetTopologyMapDefinitionRequestArgs struct { - // The query for a Topology request. - Queries PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput `pulumi:"queries"` - // The request type for the Topology request ('topology'). Valid values are `topology`. - RequestType pulumi.StringInput `pulumi:"requestType"` +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs 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 (PowerpackWidgetTopologyMapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionRequestArgs) ToPowerpackWidgetTopologyMapDefinitionRequestOutput() PowerpackWidgetTopologyMapDefinitionRequestOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionRequestArgs) ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) } -// PowerpackWidgetTopologyMapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestArray and PowerpackWidgetTopologyMapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestArrayInput` via: +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetTopologyMapDefinitionRequestArray{ PowerpackWidgetTopologyMapDefinitionRequestArgs{...} } -type PowerpackWidgetTopologyMapDefinitionRequestArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput - ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestArrayOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetTopologyMapDefinitionRequestArray []PowerpackWidgetTopologyMapDefinitionRequestInput +type powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs -func (PowerpackWidgetTopologyMapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetTopologyMapDefinitionRequestArray) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionRequestArray) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) +func (i *powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTopologyMapDefinitionRequestOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetTopologyMapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) ToPowerpackWidgetTopologyMapDefinitionRequestOutput() PowerpackWidgetTopologyMapDefinitionRequestOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { return o } -// The query for a Topology request. -func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) Queries() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequest) []PowerpackWidgetTopologyMapDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -// The request type for the Topology request ('topology'). Valid values are `topology`. -func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) RequestType() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequest) string { return v.RequestType }).(pulumi.StringOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) } -type PowerpackWidgetTopologyMapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) string { return v.Aggregation }).(pulumi.StringOutput) +} -func (PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) +} + +type PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery)(nil)).Elem() +} + +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTopologyMapDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTopologyMapDefinitionRequest { - return vs[0].([]PowerpackWidgetTopologyMapDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetTopologyMapDefinitionRequestOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryOutput) } -type PowerpackWidgetTopologyMapDefinitionRequestQuery 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"` +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetTopologyMapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestQueryArgs and PowerpackWidgetTopologyMapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestQueryInput` via: +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) +} + +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestRumQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute 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"` +} + +// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput` via: // -// PowerpackWidgetTopologyMapDefinitionRequestQueryArgs{...} -type PowerpackWidgetTopologyMapDefinitionRequestQueryInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} +type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryOutput - ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput } -type PowerpackWidgetTopologyMapDefinitionRequestQueryArgs 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 PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs 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 (PowerpackWidgetTopologyMapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArgs) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArgs) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) } -// PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestQueryArray and PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput` via: // -// PowerpackWidgetTopologyMapDefinitionRequestQueryArray{ PowerpackWidgetTopologyMapDefinitionRequestQueryArgs{...} } -type PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArgs{...} } +type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayInput interface { pulumi.Input - ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput - ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput } -type PowerpackWidgetTopologyMapDefinitionRequestQueryArray []PowerpackWidgetTopologyMapDefinitionRequestQueryInput +type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeInput -func (PowerpackWidgetTopologyMapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArray) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArray) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) } -type PowerpackWidgetTopologyMapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { return o } -// The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Your environment and primary tag (or `*` if enabled for your account). -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) Filters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequestQuery) []string { return v.Filters }).(pulumi.StringArrayOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// The ID of the service to map. -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequestQuery) string { return v.Service }).(pulumi.StringOutput) +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTopologyMapDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetTopologyMapDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) +func (o PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestRumQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestRumQueryMultiComputeOutput) } -type PowerpackWidgetTraceServiceDefinition 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 PowerpackWidgetToplistDefinitionRequestSecurityQuery struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy `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 []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute `pulumi:"multiComputes"` + // The search query to use. + SearchQuery *string `pulumi:"searchQuery"` } -// PowerpackWidgetTraceServiceDefinitionInput is an input type that accepts PowerpackWidgetTraceServiceDefinitionArgs and PowerpackWidgetTraceServiceDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetTraceServiceDefinitionInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryInput` via: // -// PowerpackWidgetTraceServiceDefinitionArgs{...} -type PowerpackWidgetTraceServiceDefinitionInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryInput interface { pulumi.Input - ToPowerpackWidgetTraceServiceDefinitionOutput() PowerpackWidgetTraceServiceDefinitionOutput - ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(context.Context) PowerpackWidgetTraceServiceDefinitionOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput } -type PowerpackWidgetTraceServiceDefinitionArgs 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"` +type PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs struct { + // `computeQuery` or `multiCompute` is required. The map keys are listed below. + ComputeQuery PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput `pulumi:"computeQuery"` + // Multiple `groupBy` blocks are allowed using the structure below. + GroupBies PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput `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 PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput `pulumi:"multiComputes"` + // The search query to use. + SearchQuery pulumi.StringPtrInput `pulumi:"searchQuery"` } -func (PowerpackWidgetTraceServiceDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTraceServiceDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionOutput() PowerpackWidgetTraceServiceDefinitionOutput { - return i.ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTraceServiceDefinitionOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) } -func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { - return i.ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTraceServiceDefinitionOutput).ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput).ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTraceServiceDefinitionPtrInput is an input type that accepts PowerpackWidgetTraceServiceDefinitionArgs, PowerpackWidgetTraceServiceDefinitionPtr and PowerpackWidgetTraceServiceDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTraceServiceDefinitionPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs, PowerpackWidgetToplistDefinitionRequestSecurityQueryPtr and PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput` via: // -// PowerpackWidgetTraceServiceDefinitionArgs{...} +// PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs{...} // // or: // // nil -type PowerpackWidgetTraceServiceDefinitionPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput - ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput } -type powerpackWidgetTraceServiceDefinitionPtrType PowerpackWidgetTraceServiceDefinitionArgs +type powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs -func PowerpackWidgetTraceServiceDefinitionPtr(v *PowerpackWidgetTraceServiceDefinitionArgs) PowerpackWidgetTraceServiceDefinitionPtrInput { - return (*powerpackWidgetTraceServiceDefinitionPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestSecurityQueryPtr(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryArgs) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType)(v) } -func (*powerpackWidgetTraceServiceDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTraceServiceDefinition)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() } -func (i *powerpackWidgetTraceServiceDefinitionPtrType) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { - return i.ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTraceServiceDefinitionPtrType) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTraceServiceDefinitionPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) } -type PowerpackWidgetTraceServiceDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTraceServiceDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTraceServiceDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionOutput() PowerpackWidgetTraceServiceDefinitionOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { return o } -func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { - return o.ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTraceServiceDefinition) *PowerpackWidgetTraceServiceDefinition { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestSecurityQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQuery { return &v - }).(PowerpackWidgetTraceServiceDefinitionPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) } -// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. -func (o PowerpackWidgetTraceServiceDefinitionOutput) DisplayFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.DisplayFormat }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// APM environment. -func (o PowerpackWidgetTraceServiceDefinitionOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) 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 PowerpackWidgetTraceServiceDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetTraceServiceDefinitionOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) string { return v.Service }).(pulumi.StringOutput) -} - -// Whether to show the latency breakdown or not. -func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowBreakdown() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowBreakdown }).(pulumi.BoolPtrOutput) -} - -// Whether to show the latency distribution or not. -func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowDistribution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowDistribution }).(pulumi.BoolPtrOutput) -} - -// Whether to show the error metrics or not. -func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowErrors }).(pulumi.BoolPtrOutput) -} - -// Whether to show the hits metrics or not -func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowHits() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowHits }).(pulumi.BoolPtrOutput) -} - -// Whether to show the latency metrics or not. -func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowLatency() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowLatency }).(pulumi.BoolPtrOutput) -} - -// Whether to show the resource list or not. -func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowResourceList() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowResourceList }).(pulumi.BoolPtrOutput) -} - -// The size of the widget. Valid values are `small`, `medium`, `large`. -func (o PowerpackWidgetTraceServiceDefinitionOutput) SizeFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.SizeFormat }).(pulumi.StringPtrOutput) -} - -// APM span name -func (o PowerpackWidgetTraceServiceDefinitionOutput) SpanName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) string { return v.SpanName }).(pulumi.StringOutput) +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetTraceServiceDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) Index() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) string { return v.Index }).(pulumi.StringOutput) } -// The alignment of the widget's title. Valid values are `center`, `left`, `right`. -func (o PowerpackWidgetTraceServiceDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute { + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetTraceServiceDefinitionOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQuery) *string { return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTraceServiceDefinitionPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTraceServiceDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTraceServiceDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQuery)(nil)).Elem() } -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput { return o } -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Elem() PowerpackWidgetTraceServiceDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) PowerpackWidgetTraceServiceDefinition { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) PowerpackWidgetToplistDefinitionRequestSecurityQuery { if v != nil { return *v } - var ret PowerpackWidgetTraceServiceDefinition + var ret PowerpackWidgetToplistDefinitionRequestSecurityQuery return ret - }).(PowerpackWidgetTraceServiceDefinitionOutput) -} - -// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) DisplayFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return v.DisplayFormat - }).(pulumi.StringPtrOutput) -} - -// APM environment. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *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 PowerpackWidgetTraceServiceDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return v.LiveSpan - }).(pulumi.StringPtrOutput) -} - -// APM service. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) -} - -// Whether to show the latency breakdown or not. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowBreakdown() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowBreakdown - }).(pulumi.BoolPtrOutput) -} - -// Whether to show the latency distribution or not. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowDistribution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowDistribution - }).(pulumi.BoolPtrOutput) -} - -// Whether to show the error metrics or not. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowErrors() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowErrors - }).(pulumi.BoolPtrOutput) -} - -// Whether to show the hits metrics or not -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowHits() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowHits - }).(pulumi.BoolPtrOutput) -} - -// Whether to show the latency metrics or not. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowLatency() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowLatency - }).(pulumi.BoolPtrOutput) -} - -// Whether to show the resource list or not. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowResourceList() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { - if v == nil { - return nil - } - return v.ShowResourceList - }).(pulumi.BoolPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryOutput) } -// The size of the widget. Valid values are `small`, `medium`, `large`. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) SizeFormat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { +// `computeQuery` or `multiCompute` is required. The map keys are listed below. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) ComputeQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { if v == nil { return nil } - return v.SizeFormat - }).(pulumi.StringPtrOutput) + return v.ComputeQuery + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// APM span name -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) SpanName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { +// Multiple `groupBy` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) GroupBies() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy { if v == nil { return nil } - return &v.SpanName - }).(pulumi.StringPtrOutput) + return v.GroupBies + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) } -// The title of the widget. -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { +// The name of the index to query. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) Index() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) *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 PowerpackWidgetTraceServiceDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { +// `computeQuery` or `multiCompute` is required. Multiple `multiCompute` blocks are allowed using the structure below. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) MultiComputes() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute { if v == nil { return nil } - return v.TitleAlign - }).(pulumi.StringPtrOutput) + return v.MultiComputes + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// The size of the widget's title (defaults to 16). -func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { +// The search query to use. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryPtrOutput) SearchQuery() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQuery) *string { if v == nil { return nil } - return v.TitleSize + return v.SearchQuery }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinition struct { - // Nested block describing the request to use when displaying the widget. - Requests []PowerpackWidgetTreemapDefinitionRequest `pulumi:"requests"` - // The title of the widget. - Title *string `pulumi:"title"` +type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery 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"` } -// PowerpackWidgetTreemapDefinitionInput is an input type that accepts PowerpackWidgetTreemapDefinitionArgs and PowerpackWidgetTreemapDefinitionOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput` via: // -// PowerpackWidgetTreemapDefinitionArgs{...} -type PowerpackWidgetTreemapDefinitionInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionOutput() PowerpackWidgetTreemapDefinitionOutput - ToPowerpackWidgetTreemapDefinitionOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput } -type PowerpackWidgetTreemapDefinitionArgs struct { - // Nested block describing the request to use when displaying the widget. - Requests PowerpackWidgetTreemapDefinitionRequestArrayInput `pulumi:"requests"` - // The title of the widget. - Title pulumi.StringPtrInput `pulumi:"title"` +type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs 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 (PowerpackWidgetTreemapDefinitionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionOutput() PowerpackWidgetTreemapDefinitionOutput { - return i.ToPowerpackWidgetTreemapDefinitionOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) } -func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionOutput).ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput).ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTreemapDefinitionPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionArgs, PowerpackWidgetTreemapDefinitionPtr and PowerpackWidgetTreemapDefinitionPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs, PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr and PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput` via: // -// PowerpackWidgetTreemapDefinitionArgs{...} +// PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs{...} // // or: // // nil -type PowerpackWidgetTreemapDefinitionPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput - ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionPtrOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput } -type powerpackWidgetTreemapDefinitionPtrType PowerpackWidgetTreemapDefinitionArgs +type powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs -func PowerpackWidgetTreemapDefinitionPtr(v *PowerpackWidgetTreemapDefinitionArgs) PowerpackWidgetTreemapDefinitionPtrInput { - return (*powerpackWidgetTreemapDefinitionPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtr(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryArgs) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType)(v) } -func (*powerpackWidgetTreemapDefinitionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinition)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionPtrType) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionPtrType) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -type PowerpackWidgetTreemapDefinitionOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinition)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionOutput() PowerpackWidgetTreemapDefinitionOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { return o } -func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinition) *PowerpackWidgetTreemapDefinition { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { return &v - }).(PowerpackWidgetTreemapDefinitionPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) } -// Nested block describing the request to use when displaying the widget. -func (o PowerpackWidgetTreemapDefinitionOutput) Requests() PowerpackWidgetTreemapDefinitionRequestArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinition) []PowerpackWidgetTreemapDefinitionRequest { return v.Requests }).(PowerpackWidgetTreemapDefinitionRequestArrayOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) string { return v.Aggregation }).(pulumi.StringOutput) } -// The title of the widget. -func (o PowerpackWidgetTreemapDefinitionOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionPtrOutput struct{ *pulumi.OutputState } +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { return v.Interval }).(pulumi.IntPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinition)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionPtrOutput) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionPtrOutput) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionPtrOutput) Elem() PowerpackWidgetTreemapDefinitionOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinition) PowerpackWidgetTreemapDefinition { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery { if v != nil { return *v } - var ret PowerpackWidgetTreemapDefinition + var ret PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery return ret - }).(PowerpackWidgetTreemapDefinitionOutput) + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryOutput) } -// Nested block describing the request to use when displaying the widget. -func (o PowerpackWidgetTreemapDefinitionPtrOutput) Requests() PowerpackWidgetTreemapDefinitionRequestArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinition) []PowerpackWidgetTreemapDefinitionRequest { +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Requests - }).(PowerpackWidgetTreemapDefinitionRequestArrayOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -// The title of the widget. -func (o PowerpackWidgetTreemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinition) *string { +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *string { if v == nil { return nil } - return v.Title + return v.Facet }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequest struct { - Formulas []PowerpackWidgetTreemapDefinitionRequestFormula `pulumi:"formulas"` - Queries []PowerpackWidgetTreemapDefinitionRequestQuery `pulumi:"queries"` +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQueryPtrOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryComputeQuery) *int { + if v == nil { + return nil + } + return v.Interval + }).(pulumi.IntPtrOutput) } -// PowerpackWidgetTreemapDefinitionRequestInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestArgs and PowerpackWidgetTreemapDefinitionRequestOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestInput` via: +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy 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 *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery `pulumi:"sortQuery"` +} + +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput` via: // -// PowerpackWidgetTreemapDefinitionRequestArgs{...} -type PowerpackWidgetTreemapDefinitionRequestInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{...} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestOutput() PowerpackWidgetTreemapDefinitionRequestOutput - ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput } -type PowerpackWidgetTreemapDefinitionRequestArgs struct { - Formulas PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` - Queries PowerpackWidgetTreemapDefinitionRequestQueryArrayInput `pulumi:"queries"` +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs 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 PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput `pulumi:"sortQuery"` } -func (PowerpackWidgetTreemapDefinitionRequestArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestArgs) ToPowerpackWidgetTreemapDefinitionRequestOutput() PowerpackWidgetTreemapDefinitionRequestOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestArgs) ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) } -// PowerpackWidgetTreemapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestArray and PowerpackWidgetTreemapDefinitionRequestArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestArray{ PowerpackWidgetTreemapDefinitionRequestArgs{...} } -type PowerpackWidgetTreemapDefinitionRequestArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray{ PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArgs{...} } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestArrayOutput() PowerpackWidgetTreemapDefinitionRequestArrayOutput - ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestArrayOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput } -type PowerpackWidgetTreemapDefinitionRequestArray []PowerpackWidgetTreemapDefinitionRequestInput +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray []PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByInput -func (PowerpackWidgetTreemapDefinitionRequestArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestArray) ToPowerpackWidgetTreemapDefinitionRequestArrayOutput() PowerpackWidgetTreemapDefinitionRequestArrayOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestArray) ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestOutput) ToPowerpackWidgetTreemapDefinitionRequestOutput() PowerpackWidgetTreemapDefinitionRequestOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestOutput) ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestOutput) Formulas() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequest) []PowerpackWidgetTreemapDefinitionRequestFormula { - return v.Formulas - }).(PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy) *string { return v.Facet }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestOutput) Queries() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequest) []PowerpackWidgetTreemapDefinitionRequestQuery { - return v.Queries - }).(PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) +// The maximum number of items in the group. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } +// A list of exactly one element describing the sort query to use. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) SortQuery() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy) *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { + return v.SortQuery + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestArrayOutput() PowerpackWidgetTreemapDefinitionRequestArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequest { - return vs[0].([]PowerpackWidgetTreemapDefinitionRequest)[vs[1].(int)] - }).(PowerpackWidgetTreemapDefinitionRequestOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupByOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormula 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 []PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression string `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit *PowerpackWidgetTreemapDefinitionRequestFormulaLimit `pulumi:"limit"` - // Styling options for widget formulas. - Style *PowerpackWidgetTreemapDefinitionRequestFormulaStyle `pulumi:"style"` +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery 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"` } -// PowerpackWidgetTreemapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaArgs and PowerpackWidgetTreemapDefinitionRequestFormulaOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput` via: // -// PowerpackWidgetTreemapDefinitionRequestFormulaArgs{...} -type PowerpackWidgetTreemapDefinitionRequestFormulaInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaOutput() PowerpackWidgetTreemapDefinitionRequestFormulaOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput } -type PowerpackWidgetTreemapDefinitionRequestFormulaArgs 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 PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` - // A string expression built from queries, formulas, and functions. - FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` - // The options for limiting results returned. - Limit PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` - // Styling options for widget formulas. - Style PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs 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 (PowerpackWidgetTreemapDefinitionRequestFormulaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutput() PowerpackWidgetTreemapDefinitionRequestFormulaOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -// PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaArray and PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput` via: +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput).ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx) +} + +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs, PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtr and PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestFormulaArray{ PowerpackWidgetTreemapDefinitionRequestFormulaArgs{...} } -type PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput } -type PowerpackWidgetTreemapDefinitionRequestFormulaArray []PowerpackWidgetTreemapDefinitionRequestFormulaInput +type powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs -func (PowerpackWidgetTreemapDefinitionRequestFormulaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +func PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtr(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrInput { + return (*powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType)(v) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +func (*powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) +func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +func (i *powerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrType) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutput() PowerpackWidgetTreemapDefinitionRequestFormulaOutput { - return o +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { return o } -// An expression alias. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o } -// A list of display modes for each table cell. Valid values are `number`, `bar`. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(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 PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) []PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat { - return v.ConditionalFormats - }).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { + return &v + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) } -// A string expression built from queries, formulas, and functions. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) string { + return v.Aggregation + }).(pulumi.StringOutput) } -// The options for limiting results returned. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *PowerpackWidgetTreemapDefinitionRequestFormulaLimit { - return v.Limit - }).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// Styling options for widget formulas. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) Style() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *PowerpackWidgetTreemapDefinitionRequestFormulaStyle { - return v.Style - }).(PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) Order() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) string { return v.Order }).(pulumi.StringOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestFormulaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestFormula { - return vs[0].([]PowerpackWidgetTreemapDefinitionRequestFormula)[vs[1].(int)] - }).(PowerpackWidgetTreemapDefinitionRequestFormulaOutput) -} - -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat 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"` -} - -// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput interface { - pulumi.Input - - ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery + return ret + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs 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 PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return v.Facet + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) +// Widget sorting methods. Valid values are `asc`, `desc`. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery) *string { + if v == nil { + return nil + } + return &v.Order + }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute 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"` } -// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput` via: +// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs and PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput` via: // -// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} } -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput interface { +// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput } -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs 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 (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } +// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray and PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput` via: +// +// PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{ PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs{...} } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput interface { + pulumi.Input -func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput + ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return o -} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray []PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeInput -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return o +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(context.Background()) } -// The color palette to apply to the background, same values available as palette. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomBgColor - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) } -// The color palette to apply to the foreground, same values available as palette. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { - return v.CustomFgColor - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput struct{ *pulumi.OutputState } -// Setting this to True hides values. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -// Displays an image as the background. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return o } -// The metric from the request to correlate with this conditional format. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + 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 PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) +// The aggregation method. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Defines the displayed timeframe. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) +// The facet name. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Facet() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *string { return v.Facet }).(pulumi.StringPtrOutput) } -// A value for the comparator. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) +// Define the time interval in seconds. +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput() PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) ToPowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat { - return vs[0].([]PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] - }).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) +func (o PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute { + return vs[0].([]PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaLimit 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 PowerpackWidgetToplistDefinitionRequestStyle 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"` } -// PowerpackWidgetTreemapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs and PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaLimitInput` via: +// PowerpackWidgetToplistDefinitionRequestStyleInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestStyleArgs and PowerpackWidgetToplistDefinitionRequestStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestStyleInput` via: // -// PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs{...} -type PowerpackWidgetTreemapDefinitionRequestFormulaLimitInput interface { +// PowerpackWidgetToplistDefinitionRequestStyleArgs{...} +type PowerpackWidgetToplistDefinitionRequestStyleInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetToplistDefinitionRequestStyleOutput() PowerpackWidgetToplistDefinitionRequestStyleOutput + ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestStyleOutput } -type PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs 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 PowerpackWidgetToplistDefinitionRequestStyleArgs 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 (PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStyleOutput() PowerpackWidgetToplistDefinitionRequestStyleOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) +func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestStyleOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionRequestStyleArgs) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestStyleOutput).ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx) } -// PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs, PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtr and PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput` via: +// PowerpackWidgetToplistDefinitionRequestStylePtrInput is an input type that accepts PowerpackWidgetToplistDefinitionRequestStyleArgs, PowerpackWidgetToplistDefinitionRequestStylePtr and PowerpackWidgetToplistDefinitionRequestStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionRequestStylePtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs{...} +// PowerpackWidgetToplistDefinitionRequestStyleArgs{...} // // or: // // nil -type PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput interface { +type PowerpackWidgetToplistDefinitionRequestStylePtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput + ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput } -type powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs +type powerpackWidgetToplistDefinitionRequestStylePtrType PowerpackWidgetToplistDefinitionRequestStyleArgs -func PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType)(v) +func PowerpackWidgetToplistDefinitionRequestStylePtr(v *PowerpackWidgetToplistDefinitionRequestStyleArgs) PowerpackWidgetToplistDefinitionRequestStylePtrInput { + return (*powerpackWidgetToplistDefinitionRequestStylePtrType)(v) } -func (*powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (*powerpackWidgetToplistDefinitionRequestStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetToplistDefinitionRequestStylePtrType) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return i.ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) +func (i *powerpackWidgetToplistDefinitionRequestStylePtrType) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionRequestStylePtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStyleOutput() PowerpackWidgetToplistDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { +func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStyleOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return o.ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *PowerpackWidgetTreemapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetToplistDefinitionRequestStyle) *PowerpackWidgetToplistDefinitionRequestStyle { return &v - }).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestStylePtrOutput) } -// The number of results to return. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) +// A color palette to apply to the widget. The available options are available at: https://docs.datadoghq.com/dashboards/widgets/timeseries/#appearance. +func (o PowerpackWidgetToplistDefinitionRequestStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionRequestStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) -} - -type PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionRequestStylePtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionRequestStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetToplistDefinitionRequestStyle)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutput() PowerpackWidgetToplistDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { +func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) ToPowerpackWidgetToplistDefinitionRequestStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionRequestStylePtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimit) PowerpackWidgetTreemapDefinitionRequestFormulaLimit { +func (o PowerpackWidgetToplistDefinitionRequestStylePtrOutput) Elem() PowerpackWidgetToplistDefinitionRequestStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestStyle) PowerpackWidgetToplistDefinitionRequestStyle { if v != nil { return *v } - var ret PowerpackWidgetTreemapDefinitionRequestFormulaLimit + var ret PowerpackWidgetToplistDefinitionRequestStyle return ret - }).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) -} - -// The number of results to return. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *int { - if v == nil { - return nil - } - return v.Count - }).(pulumi.IntPtrOutput) + }).(PowerpackWidgetToplistDefinitionRequestStyleOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *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 PowerpackWidgetToplistDefinitionRequestStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetToplistDefinitionRequestStyle) *string { if v == nil { return nil } - return v.Order + return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaStyle 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. +type PowerpackWidgetToplistDefinitionStyle struct { + // The display mode for the widget. + Displays []PowerpackWidgetToplistDefinitionStyleDisplay `pulumi:"displays"` + // The color palette for the widget. Palette *string `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex *int `pulumi:"paletteIndex"` } -// PowerpackWidgetTreemapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs and PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaStyleInput` via: +// PowerpackWidgetToplistDefinitionStyleInput is an input type that accepts PowerpackWidgetToplistDefinitionStyleArgs and PowerpackWidgetToplistDefinitionStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionStyleInput` via: // -// PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs{...} -type PowerpackWidgetTreemapDefinitionRequestFormulaStyleInput interface { +// PowerpackWidgetToplistDefinitionStyleArgs{...} +type PowerpackWidgetToplistDefinitionStyleInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetToplistDefinitionStyleOutput() PowerpackWidgetToplistDefinitionStyleOutput + ToPowerpackWidgetToplistDefinitionStyleOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionStyleOutput } -type PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs 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. +type PowerpackWidgetToplistDefinitionStyleArgs struct { + // The display mode for the widget. + Displays PowerpackWidgetToplistDefinitionStyleDisplayArrayInput `pulumi:"displays"` + // The color palette for the widget. Palette pulumi.StringPtrInput `pulumi:"palette"` - // Index specifying which color to use within the palette. - PaletteIndex pulumi.IntPtrInput `pulumi:"paletteIndex"` -} - -func (PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() -} - -func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) +func (PowerpackWidgetToplistDefinitionStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyle)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionStyleArgs) ToPowerpackWidgetToplistDefinitionStyleOutput() PowerpackWidgetToplistDefinitionStyleOutput { + return i.ToPowerpackWidgetToplistDefinitionStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) +func (i PowerpackWidgetToplistDefinitionStyleArgs) ToPowerpackWidgetToplistDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionStyleOutput) } -// PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs, PowerpackWidgetTreemapDefinitionRequestFormulaStylePtr and PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs{...} -// -// or: +// PowerpackWidgetToplistDefinitionStyleArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionStyleArray and PowerpackWidgetToplistDefinitionStyleArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionStyleArrayInput` via: // -// nil -type PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput interface { +// PowerpackWidgetToplistDefinitionStyleArray{ PowerpackWidgetToplistDefinitionStyleArgs{...} } +type PowerpackWidgetToplistDefinitionStyleArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput - ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetToplistDefinitionStyleArrayOutput() PowerpackWidgetToplistDefinitionStyleArrayOutput + ToPowerpackWidgetToplistDefinitionStyleArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionStyleArrayOutput } -type powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs - -func PowerpackWidgetTreemapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput { - return (*powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType)(v) -} +type PowerpackWidgetToplistDefinitionStyleArray []PowerpackWidgetToplistDefinitionStyleInput -func (*powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionStyle)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionStyleArray) ToPowerpackWidgetToplistDefinitionStyleArrayOutput() PowerpackWidgetToplistDefinitionStyleArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionStyleArrayOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) +func (i PowerpackWidgetToplistDefinitionStyleArray) ToPowerpackWidgetToplistDefinitionStyleArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionStyleArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyle)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetToplistDefinitionStyleOutput) ToPowerpackWidgetToplistDefinitionStyleOutput() PowerpackWidgetToplistDefinitionStyleOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { +func (o PowerpackWidgetToplistDefinitionStyleOutput) ToPowerpackWidgetToplistDefinitionStyleOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) -} - -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *PowerpackWidgetTreemapDefinitionRequestFormulaStyle { - return &v - }).(PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) -} - -// 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 PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) +// The display mode for the widget. +func (o PowerpackWidgetToplistDefinitionStyleOutput) Displays() PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionStyle) []PowerpackWidgetToplistDefinitionStyleDisplay { + return v.Displays + }).(PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput) } -// Index specifying which color to use within the palette. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) +// The color palette for the widget. +func (o PowerpackWidgetToplistDefinitionStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionStyleArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionStyle)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetToplistDefinitionStyleArrayOutput) ToPowerpackWidgetToplistDefinitionStyleArrayOutput() PowerpackWidgetToplistDefinitionStyleArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { +func (o PowerpackWidgetToplistDefinitionStyleArrayOutput) ToPowerpackWidgetToplistDefinitionStyleArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyle) PowerpackWidgetTreemapDefinitionRequestFormulaStyle { - if v != nil { - return *v - } - var ret PowerpackWidgetTreemapDefinitionRequestFormulaStyle - return ret - }).(PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) -} - -// 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 PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *string { - if v == nil { - return nil - } - return v.Palette - }).(pulumi.StringPtrOutput) -} - -// Index specifying which color to use within the palette. -func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *int { - if v == nil { - return nil - } - return v.PaletteIndex - }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetToplistDefinitionStyleArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionStyleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionStyle { + return vs[0].([]PowerpackWidgetToplistDefinitionStyle)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionStyleOutput) } -type PowerpackWidgetTreemapDefinitionRequestQuery struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` +type PowerpackWidgetToplistDefinitionStyleDisplay struct { + // The display type for the widget. + Type string `pulumi:"type"` } -// PowerpackWidgetTreemapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryInput` via: +// PowerpackWidgetToplistDefinitionStyleDisplayInput is an input type that accepts PowerpackWidgetToplistDefinitionStyleDisplayArgs and PowerpackWidgetToplistDefinitionStyleDisplayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionStyleDisplayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryInput interface { +// PowerpackWidgetToplistDefinitionStyleDisplayArgs{...} +type PowerpackWidgetToplistDefinitionStyleDisplayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryOutput + ToPowerpackWidgetToplistDefinitionStyleDisplayOutput() PowerpackWidgetToplistDefinitionStyleDisplayOutput + ToPowerpackWidgetToplistDefinitionStyleDisplayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionStyleDisplayOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryArgs struct { - // The APM Dependency Stats query using formulas and functions. - ApmDependencyStatsQuery PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` - // The APM Resource Stats query using formulas and functions. - ApmResourceStatsQuery PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` - // The Cloud Cost query using formulas and functions. - CloudCostQuery PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` - // A timeseries formula and functions events query. - EventQuery PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` - // A timeseries formula and functions metrics query. - MetricQuery PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` - // The process query using formulas and functions. - ProcessQuery PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` - // The SLO query using formulas and functions. - SloQuery PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +type PowerpackWidgetToplistDefinitionStyleDisplayArgs struct { + // The display type for the widget. + Type pulumi.StringInput `pulumi:"type"` } -func (PowerpackWidgetTreemapDefinitionRequestQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleDisplayArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyleDisplay)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionStyleDisplayArgs) ToPowerpackWidgetToplistDefinitionStyleDisplayOutput() PowerpackWidgetToplistDefinitionStyleDisplayOutput { + return i.ToPowerpackWidgetToplistDefinitionStyleDisplayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryOutput) +func (i PowerpackWidgetToplistDefinitionStyleDisplayArgs) ToPowerpackWidgetToplistDefinitionStyleDisplayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleDisplayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionStyleDisplayOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryArray and PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryArrayInput` via: +// PowerpackWidgetToplistDefinitionStyleDisplayArrayInput is an input type that accepts PowerpackWidgetToplistDefinitionStyleDisplayArray and PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetToplistDefinitionStyleDisplayArrayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryArray{ PowerpackWidgetTreemapDefinitionRequestQueryArgs{...} } -type PowerpackWidgetTreemapDefinitionRequestQueryArrayInput interface { +// PowerpackWidgetToplistDefinitionStyleDisplayArray{ PowerpackWidgetToplistDefinitionStyleDisplayArgs{...} } +type PowerpackWidgetToplistDefinitionStyleDisplayArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutput() PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput + ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(context.Context) PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryArray []PowerpackWidgetTreemapDefinitionRequestQueryInput +type PowerpackWidgetToplistDefinitionStyleDisplayArray []PowerpackWidgetToplistDefinitionStyleDisplayInput -func (PowerpackWidgetTreemapDefinitionRequestQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleDisplayArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionStyleDisplay)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryArray) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetToplistDefinitionStyleDisplayArray) ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutput() PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput { + return i.ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryArray) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) +func (i PowerpackWidgetToplistDefinitionStyleDisplayArray) ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionStyleDisplayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleDisplayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyleDisplay)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryOutput { +func (o PowerpackWidgetToplistDefinitionStyleDisplayOutput) ToPowerpackWidgetToplistDefinitionStyleDisplayOutput() PowerpackWidgetToplistDefinitionStyleDisplayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryOutput { +func (o PowerpackWidgetToplistDefinitionStyleDisplayOutput) ToPowerpackWidgetToplistDefinitionStyleDisplayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleDisplayOutput { return o } -// The APM Dependency Stats query using formulas and functions. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { - return v.ApmDependencyStatsQuery - }).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The APM Resource Stats query using formulas and functions. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { - return v.ApmResourceStatsQuery - }).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) -} - -// The Cloud Cost query using formulas and functions. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery { - return v.CloudCostQuery - }).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) -} - -// A timeseries formula and functions events query. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery { - return v.EventQuery - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) -} - -// A timeseries formula and functions metrics query. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery { - return v.MetricQuery - }).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The process query using formulas and functions. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery { - return v.ProcessQuery - }).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) -} - -// The SLO query using formulas and functions. -func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery { - return v.SloQuery - }).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +// The display type for the widget. +func (o PowerpackWidgetToplistDefinitionStyleDisplayOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetToplistDefinitionStyleDisplay) string { return v.Type }).(pulumi.StringOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +func (PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetToplistDefinitionStyleDisplay)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput) ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutput() PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { +func (o PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput) ToPowerpackWidgetToplistDefinitionStyleDisplayArrayOutputWithContext(ctx context.Context) PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestQuery { - return vs[0].([]PowerpackWidgetTreemapDefinitionRequestQuery)[vs[1].(int)] - }).(PowerpackWidgetTreemapDefinitionRequestQueryOutput) +func (o PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetToplistDefinitionStyleDisplayOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetToplistDefinitionStyleDisplay { + return vs[0].([]PowerpackWidgetToplistDefinitionStyleDisplay)[vs[1].(int)] + }).(PowerpackWidgetToplistDefinitionStyleDisplayOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTopologyMapDefinition struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks []PowerpackWidgetTopologyMapDefinitionCustomLink `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 []PowerpackWidgetTopologyMapDefinitionRequest `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"` } -// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput` via: +// PowerpackWidgetTopologyMapDefinitionInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionArgs and PowerpackWidgetTopologyMapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput interface { +// PowerpackWidgetTopologyMapDefinitionArgs{...} +type PowerpackWidgetTopologyMapDefinitionInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetTopologyMapDefinitionOutput() PowerpackWidgetTopologyMapDefinitionOutput + ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTopologyMapDefinitionArgs struct { + // A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. + CustomLinks PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput `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 PowerpackWidgetTopologyMapDefinitionRequestArrayInput `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 (PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinition)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionOutput() PowerpackWidgetTopologyMapDefinitionOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) +func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTopologyMapDefinitionArgs) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionOutput).ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx) } -// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: +// PowerpackWidgetTopologyMapDefinitionPtrInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionArgs, PowerpackWidgetTopologyMapDefinitionPtr and PowerpackWidgetTopologyMapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionPtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +// PowerpackWidgetTopologyMapDefinitionArgs{...} // // or: // // nil -type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { +type PowerpackWidgetTopologyMapDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput + ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput } -type powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs +type powerpackWidgetTopologyMapDefinitionPtrType PowerpackWidgetTopologyMapDefinitionArgs -func PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) +func PowerpackWidgetTopologyMapDefinitionPtr(v *PowerpackWidgetTopologyMapDefinitionArgs) PowerpackWidgetTopologyMapDefinitionPtrInput { + return (*powerpackWidgetTopologyMapDefinitionPtrType)(v) } -func (*powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (*powerpackWidgetTopologyMapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTopologyMapDefinition)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTopologyMapDefinitionPtrType) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) +func (i *powerpackWidgetTopologyMapDefinitionPtrType) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTopologyMapDefinitionOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinition)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionOutput() PowerpackWidgetTopologyMapDefinitionOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { +func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { + return o.ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetTopologyMapDefinitionOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTopologyMapDefinition) *PowerpackWidgetTopologyMapDefinition { return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.DataSource - }).(pulumi.StringOutput) -} - -// APM environment. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) -} - -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) -} - -// Name of operation on service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.OperationName - }).(pulumi.StringOutput) + }).(PowerpackWidgetTopologyMapDefinitionPtrOutput) } -// 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 PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetTopologyMapDefinitionOutput) CustomLinks() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionCustomLink { + return v.CustomLinks + }).(PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *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 (`query` and `requestType` are required within the request). +func (o PowerpackWidgetTopologyMapDefinitionOutput) Requests() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionRequest { + return v.Requests + }).(PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) } -// APM resource. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { - return v.ResourceName - }).(pulumi.StringOutput) +// The title of the widget. +func (o PowerpackWidgetTopologyMapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// APM service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetTopologyMapDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetTopologyMapDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTopologyMapDefinitionPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTopologyMapDefinition)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutput() PowerpackWidgetTopologyMapDefinitionPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) ToPowerpackWidgetTopologyMapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) Elem() PowerpackWidgetTopologyMapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) PowerpackWidgetTopologyMapDefinition { if v != nil { return *v } - var ret PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery + var ret PowerpackWidgetTopologyMapDefinition return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) + }).(PowerpackWidgetTopologyMapDefinitionOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) CustomLinks() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionCustomLink { if v == nil { return nil } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.CustomLinks + }).(PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) } -// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// 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 PowerpackWidgetTopologyMapDefinitionPtrOutput) Requests() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) []PowerpackWidgetTopologyMapDefinitionRequest { if v == nil { return nil } - return &v.DataSource - }).(pulumi.StringPtrOutput) + return v.Requests + }).(PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) } -// APM environment. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The title of the widget. +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) *string { if v == nil { return nil } - return &v.Env + return v.Title }).(pulumi.StringPtrOutput) } -// Determines whether stats for upstream or downstream dependencies should be queried. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { - if v == nil { - return nil - } - return v.IsUpstream - }).(pulumi.BoolPtrOutput) -} - -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) *string { if v == nil { return nil } - return &v.Name + return v.TitleAlign }).(pulumi.StringPtrOutput) } -// Name of operation on service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetTopologyMapDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTopologyMapDefinition) *string { if v == nil { return nil } - return &v.OperationName + return v.TitleSize }).(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 PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTopologyMapDefinitionCustomLink 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"` } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// PowerpackWidgetTopologyMapDefinitionCustomLinkInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionCustomLinkArgs and PowerpackWidgetTopologyMapDefinitionCustomLinkOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionCustomLinkInput` via: +// +// PowerpackWidgetTopologyMapDefinitionCustomLinkArgs{...} +type PowerpackWidgetTopologyMapDefinitionCustomLinkInput interface { + pulumi.Input + + ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkOutput + ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput } -// APM resource. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.ResourceName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTopologyMapDefinitionCustomLinkArgs 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"` } -// APM service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTopologyMapDefinitionCustomLinkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() } -// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArgs) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTopologyMapDefinitionCustomLinkArgs) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput` via: +// PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionCustomLinkArray and PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput interface { +// PowerpackWidgetTopologyMapDefinitionCustomLinkArray{ PowerpackWidgetTopologyMapDefinitionCustomLinkArgs{...} } +type PowerpackWidgetTopologyMapDefinitionCustomLinkArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput + ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs struct { - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTopologyMapDefinitionCustomLinkArray []PowerpackWidgetTopologyMapDefinitionCustomLinkInput -func (PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionCustomLinkArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArray) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) +func (i PowerpackWidgetTopologyMapDefinitionCustomLinkArray) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetTopologyMapDefinitionCustomLinkOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) +func (PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() } -// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { + return o } -type powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { + return o +} -func PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) +// The flag for toggling context menu link visibility. +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) IsHidden() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *bool { return v.IsHidden }).(pulumi.BoolPtrOutput) } -func (*powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +// The label for the custom link URL. +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *string { return v.Label }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +// The URL of the custom link. +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) Link() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *string { return v.Link }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +// The label ID that refers to a context menu link item. When `overrideLabel` is provided, the client request omits the label field. +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) OverrideLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionCustomLink) *string { return v.OverrideLabel }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionCustomLink)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput() PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) ToPowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTopologyMapDefinitionCustomLinkArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTopologyMapDefinitionCustomLinkOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTopologyMapDefinitionCustomLink { + return vs[0].([]PowerpackWidgetTopologyMapDefinitionCustomLink)[vs[1].(int)] + }).(PowerpackWidgetTopologyMapDefinitionCustomLinkOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { - return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) +type PowerpackWidgetTopologyMapDefinitionRequest struct { + // The query for a Topology request. + Queries []PowerpackWidgetTopologyMapDefinitionRequestQuery `pulumi:"queries"` + // The request type for the Topology request ('topology'). Valid values are `topology`. + RequestType string `pulumi:"requestType"` } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetTopologyMapDefinitionRequestInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestArgs and PowerpackWidgetTopologyMapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestInput` via: +// +// PowerpackWidgetTopologyMapDefinitionRequestArgs{...} +type PowerpackWidgetTopologyMapDefinitionRequestInput interface { + pulumi.Input -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) + ToPowerpackWidgetTopologyMapDefinitionRequestOutput() PowerpackWidgetTopologyMapDefinitionRequestOutput + ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestOutput } -// APM environment. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) +type PowerpackWidgetTopologyMapDefinitionRequestArgs struct { + // The query for a Topology request. + Queries PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput `pulumi:"queries"` + // The request type for the Topology request ('topology'). Valid values are `topology`. + RequestType pulumi.StringInput `pulumi:"requestType"` } -// Array of fields to group results by. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) +func (PowerpackWidgetTopologyMapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) +func (i PowerpackWidgetTopologyMapDefinitionRequestArgs) ToPowerpackWidgetTopologyMapDefinitionRequestOutput() PowerpackWidgetTopologyMapDefinitionRequestOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(context.Background()) } -// Name of operation on service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.OperationName - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTopologyMapDefinitionRequestArgs) ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestOutput) } -// 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 PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetTopologyMapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestArray and PowerpackWidgetTopologyMapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestArrayInput` via: +// +// PowerpackWidgetTopologyMapDefinitionRequestArray{ PowerpackWidgetTopologyMapDefinitionRequestArgs{...} } +type PowerpackWidgetTopologyMapDefinitionRequestArrayInput interface { + pulumi.Input -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput + ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestArrayOutput } -// APM resource. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - return v.ResourceName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTopologyMapDefinitionRequestArray []PowerpackWidgetTopologyMapDefinitionRequestInput + +func (PowerpackWidgetTopologyMapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() } -// APM service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +func (i PowerpackWidgetTopologyMapDefinitionRequestArray) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(context.Background()) } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +func (i PowerpackWidgetTopologyMapDefinitionRequestArray) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTopologyMapDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) ToPowerpackWidgetTopologyMapDefinitionRequestOutput() PowerpackWidgetTopologyMapDefinitionRequestOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { +func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) ToPowerpackWidgetTopologyMapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery - return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) +// The query for a Topology request. +func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) Queries() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequest) []PowerpackWidgetTopologyMapDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// The request type for the Topology request ('topology'). Valid values are `topology`. +func (o PowerpackWidgetTopologyMapDefinitionRequestOutput) RequestType() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequest) string { return v.RequestType }).(pulumi.StringOutput) } -// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) -} +type PowerpackWidgetTopologyMapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -// APM environment. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Env - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequest)(nil)).Elem() } -// Array of fields to group results by. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { - if v == nil { - return nil - } - return v.GroupBies - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { + return o } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestArrayOutput { + return o } -// Name of operation on service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.OperationName - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTopologyMapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTopologyMapDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTopologyMapDefinitionRequest { + return vs[0].([]PowerpackWidgetTopologyMapDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetTopologyMapDefinitionRequestOutput) } -// 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 PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTopologyMapDefinitionRequestQuery 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"` } -// Filter APM data by the second primary tag. `primaryTagName` must also be specified. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.PrimaryTagValue - }).(pulumi.StringPtrOutput) +// PowerpackWidgetTopologyMapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestQueryArgs and PowerpackWidgetTopologyMapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestQueryInput` via: +// +// PowerpackWidgetTopologyMapDefinitionRequestQueryArgs{...} +type PowerpackWidgetTopologyMapDefinitionRequestQueryInput interface { + pulumi.Input + + ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryOutput + ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput } -// APM resource. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return v.ResourceName - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTopologyMapDefinitionRequestQueryArgs 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"` } -// APM service. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Service - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTopologyMapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() } -// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { - if v == nil { - return nil - } - return &v.Stat - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArgs) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTopologyMapDefinitionRequestQueryArgs) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryInput` via: +// PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTopologyMapDefinitionRequestQueryArray and PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryInput interface { +// PowerpackWidgetTopologyMapDefinitionRequestQueryArray{ PowerpackWidgetTopologyMapDefinitionRequestQueryArgs{...} } +type PowerpackWidgetTopologyMapDefinitionRequestQueryArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs struct { - // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. - Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTopologyMapDefinitionRequestQueryArray []PowerpackWidgetTopologyMapDefinitionRequestQueryInput -func (PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArray) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) +func (i PowerpackWidgetTopologyMapDefinitionRequestQueryArray) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetTopologyMapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) +func (PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() } -// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { + return o } -type powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs - -func PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType)(v) +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { + return o } -func (*powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +// The data source for the Topology request ('service*map' or 'data*streams'). Valid values are `dataStreams`, `serviceMap`. +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequestQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +// Your environment and primary tag (or `*` if enabled for your account). +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) Filters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequestQuery) []string { return v.Filters }).(pulumi.StringArrayOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +// The ID of the service to map. +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTopologyMapDefinitionRequestQuery) string { return v.Service }).(pulumi.StringOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTopologyMapDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput() PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTopologyMapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTopologyMapDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTopologyMapDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetTopologyMapDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetTopologyMapDefinitionRequestQueryOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery { - return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) +type PowerpackWidgetTraceServiceDefinition 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"` } -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetTraceServiceDefinitionInput is an input type that accepts PowerpackWidgetTraceServiceDefinitionArgs and PowerpackWidgetTraceServiceDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetTraceServiceDefinitionInput` via: +// +// PowerpackWidgetTraceServiceDefinitionArgs{...} +type PowerpackWidgetTraceServiceDefinitionInput interface { + pulumi.Input -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) + ToPowerpackWidgetTraceServiceDefinitionOutput() PowerpackWidgetTraceServiceDefinitionOutput + ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(context.Context) PowerpackWidgetTraceServiceDefinitionOutput } -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) +type PowerpackWidgetTraceServiceDefinitionArgs 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"` } -// The name of the query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +func (PowerpackWidgetTraceServiceDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTraceServiceDefinition)(nil)).Elem() } -// The cloud cost query definition. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionOutput() PowerpackWidgetTraceServiceDefinitionOutput { + return i.ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTraceServiceDefinitionOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o +func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { + return i.ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { - return o +func (i PowerpackWidgetTraceServiceDefinitionArgs) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTraceServiceDefinitionOutput).ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery - return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) -} +// PowerpackWidgetTraceServiceDefinitionPtrInput is an input type that accepts PowerpackWidgetTraceServiceDefinitionArgs, PowerpackWidgetTraceServiceDefinitionPtr and PowerpackWidgetTraceServiceDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTraceServiceDefinitionPtrInput` via: +// +// PowerpackWidgetTraceServiceDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTraceServiceDefinitionPtrInput interface { + pulumi.Input -// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) + ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput + ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} +type powerpackWidgetTraceServiceDefinitionPtrType PowerpackWidgetTraceServiceDefinitionArgs -// The data source for cloud cost queries. Valid values are `cloudCost`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +func PowerpackWidgetTraceServiceDefinitionPtr(v *PowerpackWidgetTraceServiceDefinitionArgs) PowerpackWidgetTraceServiceDefinitionPtrInput { + return (*powerpackWidgetTraceServiceDefinitionPtrType)(v) } -// The name of the query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +func (*powerpackWidgetTraceServiceDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTraceServiceDefinition)(nil)).Elem() } -// The cloud cost query definition. -func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (i *powerpackWidgetTraceServiceDefinitionPtrType) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { + return i.ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuery struct { - // The compute options. - Computes []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - DataSource string `pulumi:"dataSource"` - // Group by options. - GroupBies []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy `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 *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` - // Storage location (private beta). - Storage *string `pulumi:"storage"` +func (i *powerpackWidgetTraceServiceDefinitionPtrType) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTraceServiceDefinitionPtrOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryInput interface { - pulumi.Input +type PowerpackWidgetTraceServiceDefinitionOutput struct{ *pulumi.OutputState } - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput +func (PowerpackWidgetTraceServiceDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTraceServiceDefinition)(nil)).Elem() } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs struct { - // The compute options. - Computes PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. - DataSource pulumi.StringInput `pulumi:"dataSource"` - // Group by options. - GroupBies PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput `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 PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` - // Storage location (private beta). - Storage pulumi.StringPtrInput `pulumi:"storage"` +func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionOutput() PowerpackWidgetTraceServiceDefinitionOutput { + return o } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionOutput { + return o } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) +func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { + return o.ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) +func (o PowerpackWidgetTraceServiceDefinitionOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTraceServiceDefinition) *PowerpackWidgetTraceServiceDefinition { + return &v + }).(PowerpackWidgetTraceServiceDefinitionPtrOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. +func (o PowerpackWidgetTraceServiceDefinitionOutput) DisplayFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.DisplayFormat }).(pulumi.StringPtrOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) +// APM environment. +func (o PowerpackWidgetTraceServiceDefinitionOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) string { return v.Env }).(pulumi.StringOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput +// 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 PowerpackWidgetTraceServiceDefinitionOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.LiveSpan }).(pulumi.StringPtrOutput) } -type powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs - -func PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType)(v) +// APM service. +func (o PowerpackWidgetTraceServiceDefinitionOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) string { return v.Service }).(pulumi.StringOutput) } -func (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +// Whether to show the latency breakdown or not. +func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowBreakdown() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowBreakdown }).(pulumi.BoolPtrOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// Whether to show the latency distribution or not. +func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowDistribution() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowDistribution }).(pulumi.BoolPtrOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +// Whether to show the error metrics or not. +func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowErrors }).(pulumi.BoolPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } +// Whether to show the hits metrics or not +func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowHits() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowHits }).(pulumi.BoolPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +// Whether to show the latency metrics or not. +func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowLatency() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowLatency }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return o +// Whether to show the resource list or not. +func (o PowerpackWidgetTraceServiceDefinitionOutput) ShowResourceList() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *bool { return v.ShowResourceList }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return o +// The size of the widget. Valid values are `small`, `medium`, `large`. +func (o PowerpackWidgetTraceServiceDefinitionOutput) SizeFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.SizeFormat }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +// APM span name +func (o PowerpackWidgetTraceServiceDefinitionOutput) SpanName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) string { return v.SpanName }).(pulumi.StringOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery { - return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +// The title of the widget. +func (o PowerpackWidgetTraceServiceDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) } -// The compute options. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute { - return v.Computes - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetTraceServiceDefinitionOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.TitleAlign }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetTraceServiceDefinitionOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTraceServiceDefinition) *string { return v.TitleSize }).(pulumi.StringPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) +type PowerpackWidgetTraceServiceDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTraceServiceDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTraceServiceDefinition)(nil)).Elem() } -// Group by options. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - return v.GroupBies - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutput() PowerpackWidgetTraceServiceDefinitionPtrOutput { + return o } -// An array of index names to query in the stream. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ToPowerpackWidgetTraceServiceDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTraceServiceDefinitionPtrOutput { + return o } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Elem() PowerpackWidgetTraceServiceDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) PowerpackWidgetTraceServiceDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetTraceServiceDefinition + return ret + }).(PowerpackWidgetTraceServiceDefinitionOutput) } -// The search options. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { - return v.Search - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +// The number of columns to display. Valid values are `oneColumn`, `twoColumn`, `threeColumn`. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) DisplayFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.DisplayFormat + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput 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 PowerpackWidgetTraceServiceDefinitionPtrOutput) LiveSpan() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return v.LiveSpan + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() +// APM service. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o +// Whether to show the latency breakdown or not. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowBreakdown() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowBreakdown + }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { - return o +// Whether to show the latency distribution or not. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowDistribution() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil + } + return v.ShowDistribution + }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) PowerpackWidgetTreemapDefinitionRequestQueryEventQuery { - if v != nil { - return *v +// Whether to show the error metrics or not. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowErrors() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { + if v == nil { + return nil } - var ret PowerpackWidgetTreemapDefinitionRequestQueryEventQuery - return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) + return v.ShowErrors + }).(pulumi.BoolPtrOutput) } -// The compute options. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute { +// Whether to show the hits metrics or not +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowHits() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { if v == nil { return nil } - return v.Computes - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) + return v.ShowHits + }).(pulumi.BoolPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// Whether to show the latency metrics or not. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowLatency() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { if v == nil { return nil } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) + return v.ShowLatency + }).(pulumi.BoolPtrOutput) } -// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// Whether to show the resource list or not. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) ShowResourceList() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *bool { if v == nil { return nil } - return &v.DataSource - }).(pulumi.StringPtrOutput) + return v.ShowResourceList + }).(pulumi.BoolPtrOutput) } -// Group by options. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { +// The size of the widget. Valid values are `small`, `medium`, `large`. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) SizeFormat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { if v == nil { return nil } - return v.GroupBies - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) + return v.SizeFormat + }).(pulumi.StringPtrOutput) } -// An array of index names to query in the stream. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []string { +// APM span name +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) SpanName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { if v == nil { return nil } - return v.Indexes - }).(pulumi.StringArrayOutput) + return &v.SpanName + }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// The title of the widget. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { if v == nil { return nil } - return &v.Name + return v.Title }).(pulumi.StringPtrOutput) } -// The search options. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { +// The alignment of the widget's title. Valid values are `center`, `left`, `right`. +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) TitleAlign() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { if v == nil { return nil } - return v.Search - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) + return v.TitleAlign + }).(pulumi.StringPtrOutput) } -// Storage location (private beta). -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { +// The size of the widget's title (defaults to 16). +func (o PowerpackWidgetTraceServiceDefinitionPtrOutput) TitleSize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTraceServiceDefinition) *string { if v == nil { return nil } - return v.Storage + return v.TitleSize }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute 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 PowerpackWidgetTreemapDefinition struct { + // Nested block describing the request to use when displaying the widget. + Requests []PowerpackWidgetTreemapDefinitionRequest `pulumi:"requests"` + // The title of the widget. + Title *string `pulumi:"title"` } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput` via: +// PowerpackWidgetTreemapDefinitionInput is an input type that accepts PowerpackWidgetTreemapDefinitionArgs and PowerpackWidgetTreemapDefinitionOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput interface { +// PowerpackWidgetTreemapDefinitionArgs{...} +type PowerpackWidgetTreemapDefinitionInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetTreemapDefinitionOutput() PowerpackWidgetTreemapDefinitionOutput + ToPowerpackWidgetTreemapDefinitionOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs 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 PowerpackWidgetTreemapDefinitionArgs struct { + // Nested block describing the request to use when displaying the widget. + Requests PowerpackWidgetTreemapDefinitionRequestArrayInput `pulumi:"requests"` + // The title of the widget. + Title pulumi.StringPtrInput `pulumi:"title"` } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinition)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionOutput() PowerpackWidgetTreemapDefinitionOutput { + return i.ToPowerpackWidgetTreemapDefinitionOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) +func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput` via: +func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTreemapDefinitionArgs) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionOutput).ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx) +} + +// PowerpackWidgetTreemapDefinitionPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionArgs, PowerpackWidgetTreemapDefinitionPtr and PowerpackWidgetTreemapDefinitionPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionPtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput interface { +// PowerpackWidgetTreemapDefinitionArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTreemapDefinitionPtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput + ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionPtrOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput +type powerpackWidgetTreemapDefinitionPtrType PowerpackWidgetTreemapDefinitionArgs -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +func PowerpackWidgetTreemapDefinitionPtr(v *PowerpackWidgetTreemapDefinitionArgs) PowerpackWidgetTreemapDefinitionPtrInput { + return (*powerpackWidgetTreemapDefinitionPtrType)(v) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) +func (*powerpackWidgetTreemapDefinitionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinition)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) +func (i *powerpackWidgetTreemapDefinitionPtrType) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTreemapDefinitionPtrType) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +type PowerpackWidgetTreemapDefinitionOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinition)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionOutput() PowerpackWidgetTreemapDefinitionOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { +func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionOutput { 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) +func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(context.Background()) } -// A time interval in milliseconds. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTreemapDefinitionOutput) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinition) *PowerpackWidgetTreemapDefinition { + return &v + }).(PowerpackWidgetTreemapDefinitionPtrOutput) } -// The measurable attribute to compute. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +// Nested block describing the request to use when displaying the widget. +func (o PowerpackWidgetTreemapDefinitionOutput) Requests() PowerpackWidgetTreemapDefinitionRequestArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinition) []PowerpackWidgetTreemapDefinitionRequest { return v.Requests }).(PowerpackWidgetTreemapDefinitionRequestArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } +// The title of the widget. +func (o PowerpackWidgetTreemapDefinitionOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinition) *string { return v.Title }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() +type PowerpackWidgetTreemapDefinitionPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinition)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetTreemapDefinitionPtrOutput) ToPowerpackWidgetTreemapDefinitionPtrOutput() PowerpackWidgetTreemapDefinitionPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { +func (o PowerpackWidgetTreemapDefinitionPtrOutput) ToPowerpackWidgetTreemapDefinitionPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute { - return vs[0].([]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) +func (o PowerpackWidgetTreemapDefinitionPtrOutput) Elem() PowerpackWidgetTreemapDefinitionOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinition) PowerpackWidgetTreemapDefinition { + if v != nil { + return *v + } + var ret PowerpackWidgetTreemapDefinition + return ret + }).(PowerpackWidgetTreemapDefinitionOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy 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 *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` +// Nested block describing the request to use when displaying the widget. +func (o PowerpackWidgetTreemapDefinitionPtrOutput) Requests() PowerpackWidgetTreemapDefinitionRequestArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinition) []PowerpackWidgetTreemapDefinitionRequest { + if v == nil { + return nil + } + return v.Requests + }).(PowerpackWidgetTreemapDefinitionRequestArrayOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput` via: +// The title of the widget. +func (o PowerpackWidgetTreemapDefinitionPtrOutput) Title() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinition) *string { + if v == nil { + return nil + } + return v.Title + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTreemapDefinitionRequest struct { + Formulas []PowerpackWidgetTreemapDefinitionRequestFormula `pulumi:"formulas"` + Queries []PowerpackWidgetTreemapDefinitionRequestQuery `pulumi:"queries"` +} + +// PowerpackWidgetTreemapDefinitionRequestInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestArgs and PowerpackWidgetTreemapDefinitionRequestOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput interface { +// PowerpackWidgetTreemapDefinitionRequestArgs{...} +type PowerpackWidgetTreemapDefinitionRequestInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetTreemapDefinitionRequestOutput() PowerpackWidgetTreemapDefinitionRequestOutput + ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` +type PowerpackWidgetTreemapDefinitionRequestArgs struct { + Formulas PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput `pulumi:"formulas"` + Queries PowerpackWidgetTreemapDefinitionRequestQueryArrayInput `pulumi:"queries"` } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestArgs) ToPowerpackWidgetTreemapDefinitionRequestOutput() PowerpackWidgetTreemapDefinitionRequestOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) +func (i PowerpackWidgetTreemapDefinitionRequestArgs) ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput` via: +// PowerpackWidgetTreemapDefinitionRequestArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestArray and PowerpackWidgetTreemapDefinitionRequestArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestArrayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{...} } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput interface { +// PowerpackWidgetTreemapDefinitionRequestArray{ PowerpackWidgetTreemapDefinitionRequestArgs{...} } +type PowerpackWidgetTreemapDefinitionRequestArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestArrayOutput() PowerpackWidgetTreemapDefinitionRequestArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestArrayOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput +type PowerpackWidgetTreemapDefinitionRequestArray []PowerpackWidgetTreemapDefinitionRequestInput -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestArray) ToPowerpackWidgetTreemapDefinitionRequestArrayOutput() PowerpackWidgetTreemapDefinitionRequestArrayOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) +func (i PowerpackWidgetTreemapDefinitionRequestArray) ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetTreemapDefinitionRequestOutput) ToPowerpackWidgetTreemapDefinitionRequestOutput() PowerpackWidgetTreemapDefinitionRequestOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { +func (o PowerpackWidgetTreemapDefinitionRequestOutput) ToPowerpackWidgetTreemapDefinitionRequestOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestOutput { return o } -// The event facet. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) -} - -// The number of groups to return. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestOutput) Formulas() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequest) []PowerpackWidgetTreemapDefinitionRequestFormula { + return v.Formulas + }).(PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) } -// The options for sorting group by results. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - return v.Sort - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestOutput) Queries() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequest) []PowerpackWidgetTreemapDefinitionRequestQuery { + return v.Queries + }).(PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequest)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestArrayOutput() PowerpackWidgetTreemapDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { - return vs[0].([]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) +func (o PowerpackWidgetTreemapDefinitionRequestArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequest { + return vs[0].([]PowerpackWidgetTreemapDefinitionRequest)[vs[1].(int)] + }).(PowerpackWidgetTreemapDefinitionRequestOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort 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 PowerpackWidgetTreemapDefinitionRequestFormula 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 []PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression string `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit *PowerpackWidgetTreemapDefinitionRequestFormulaLimit `pulumi:"limit"` + // Styling options for widget formulas. + Style *PowerpackWidgetTreemapDefinitionRequestFormulaStyle `pulumi:"style"` } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput` via: +// PowerpackWidgetTreemapDefinitionRequestFormulaInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaArgs and PowerpackWidgetTreemapDefinitionRequestFormulaOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput interface { +// PowerpackWidgetTreemapDefinitionRequestFormulaArgs{...} +type PowerpackWidgetTreemapDefinitionRequestFormulaInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaOutput() PowerpackWidgetTreemapDefinitionRequestFormulaOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs 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 PowerpackWidgetTreemapDefinitionRequestFormulaArgs 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 PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput `pulumi:"conditionalFormats"` + // A string expression built from queries, formulas, and functions. + FormulaExpression pulumi.StringInput `pulumi:"formulaExpression"` + // The options for limiting results returned. + Limit PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput `pulumi:"limit"` + // Styling options for widget formulas. + Style PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput `pulumi:"style"` } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutput() PowerpackWidgetTreemapDefinitionRequestFormulaOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaArray and PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestFormulaArray{ PowerpackWidgetTreemapDefinitionRequestFormulaArgs{...} } +type PowerpackWidgetTreemapDefinitionRequestFormulaArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) +type PowerpackWidgetTreemapDefinitionRequestFormulaArray []PowerpackWidgetTreemapDefinitionRequestFormulaInput + +func (PowerpackWidgetTreemapDefinitionRequestFormulaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { - pulumi.Input +func (i PowerpackWidgetTreemapDefinitionRequestFormulaArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(context.Background()) +} - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput +func (i PowerpackWidgetTreemapDefinitionRequestFormulaArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) } -type powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs +type PowerpackWidgetTreemapDefinitionRequestFormulaOutput struct{ *pulumi.OutputState } -func PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) +func (PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() } -func (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutput() PowerpackWidgetTreemapDefinitionRequestFormulaOutput { + return o } -func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaOutput { + return o } -func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +// An expression alias. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) Alias() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *string { return v.Alias }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } +// A list of display modes for each table cell. Valid values are `number`, `bar`. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) CellDisplayMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *string { return v.CellDisplayMode }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +// 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 PowerpackWidgetTreemapDefinitionRequestFormulaOutput) ConditionalFormats() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) []PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat { + return v.ConditionalFormats + }).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o +// A string expression built from queries, formulas, and functions. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) FormulaExpression() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) string { return v.FormulaExpression }).(pulumi.StringOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o +// The options for limiting results returned. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) Limit() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *PowerpackWidgetTreemapDefinitionRequestFormulaLimit { + return v.Limit + }).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) +// Styling options for widget formulas. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaOutput) Style() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormula) *PowerpackWidgetTreemapDefinitionRequestFormulaStyle { + return v.Style + }).(PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) -} +type PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput struct{ *pulumi.OutputState } -// 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +func (PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormula)(nil)).Elem() } -// The metric used for sorting group by results. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { + return o } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput { + return o } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() +func (o PowerpackWidgetTreemapDefinitionRequestFormulaArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestFormulaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestFormula { + return vs[0].([]PowerpackWidgetTreemapDefinitionRequestFormula)[vs[1].(int)] + }).(PowerpackWidgetTreemapDefinitionRequestFormulaOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { - return o -} +// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs and PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput interface { + pulumi.Input -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { - if v != nil { - return *v - } - var ret PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort - return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) + ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput } -// 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return &v.Aggregation - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs 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 metric used for sorting group by results. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Metric - }).(pulumi.StringPtrOutput) +func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// Direction of sort. Valid values are `asc`, `desc`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { - if v == nil { - return nil - } - return v.Order - }).(pulumi.StringPtrOutput) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(context.Background()) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch struct { - // The events search string. - Query string `pulumi:"query"` +func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchInput` via: +// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray and PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchInput interface { +// PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray{ PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArgs{...} } +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs struct { - // The events search string. - Query pulumi.StringInput `pulumi:"query"` -} +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray []PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatInput -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArray) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) -} +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput struct{ *pulumi.OutputState } -func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) +func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput` via: -// -// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} -// -// or: -// -// nil -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput interface { - pulumi.Input - - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return o } -type powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs - -func PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType)(v) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return o } -func (*powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// The comparator to use. Valid values are `=`, `>`, `>=`, `<`, `<=`. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Comparator() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Comparator }).(pulumi.StringOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// The color palette to apply to the background, same values available as palette. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomBgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomBgColor + }).(pulumi.StringPtrOutput) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +// The color palette to apply to the foreground, same values available as palette. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) CustomFgColor() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { + return v.CustomFgColor + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } - -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +// Setting this to True hides values. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) HideValue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *bool { return v.HideValue }).(pulumi.BoolPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return o +// Displays an image as the background. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) ImageUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.ImageUrl }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return o +// The metric from the request to correlate with this conditional format. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Metric }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) +// 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 PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Palette() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) string { return v.Palette }).(pulumi.StringOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { - return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +// Defines the displayed timeframe. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Timeframe() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) *string { return v.Timeframe }).(pulumi.StringPtrOutput) } -// The events search string. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +// A value for the comparator. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) Value() pulumi.Float64Output { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat) float64 { return v.Value }).(pulumi.Float64Output) } -type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput() PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { - if v != nil { - return *v - } - var ret PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch - return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) -} - -// The events search string. -func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) *string { - if v == nil { - return nil - } - return &v.Query - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat { + return vs[0].([]PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormat)[vs[1].(int)] + }).(PowerpackWidgetTreemapDefinitionRequestFormulaConditionalFormatOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTreemapDefinitionRequestFormulaLimit 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"` } -// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryInput` via: +// PowerpackWidgetTreemapDefinitionRequestFormulaLimitInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs and PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaLimitInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryInput interface { +// PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs{...} +type PowerpackWidgetTreemapDefinitionRequestFormulaLimitInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs 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 (PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput).ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx) } -// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs, PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtr and PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} +// PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs{...} // // or: // // nil -type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput } -type powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs +type powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs -func PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtr(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimitArgs) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType)(v) } -func (*powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestFormulaLimitPtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *PowerpackWidgetTreemapDefinitionRequestFormulaLimit { return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) +// The number of results to return. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *int { return v.Count }).(pulumi.IntPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *string { return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaLimit)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimit) PowerpackWidgetTreemapDefinitionRequestFormulaLimit { if v != nil { return *v } - var ret PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery + var ret PowerpackWidgetTreemapDefinitionRequestFormulaLimit return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) -} - -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) -} - -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) -} - -// The data source for metrics queries. Defaults to `"metrics"`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { - if v == nil { - return nil - } - return v.DataSource - }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestFormulaLimitOutput) } -// The name of the query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { +// The number of results to return. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Count() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *int { if v == nil { return nil } - return &v.Name - }).(pulumi.StringPtrOutput) + return v.Count + }).(pulumi.IntPtrOutput) } -// The metrics query definition. -func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaLimitPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaLimit) *string { if v == nil { return nil } - return &v.Query + return v.Order }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery struct { - // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. - Aggregator *string `pulumi:"aggregator"` - // The source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTreemapDefinitionRequestFormulaStyle 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"` } -// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryInput` via: +// PowerpackWidgetTreemapDefinitionRequestFormulaStyleInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs and PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaStyleInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryInput interface { +// PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs{...} +type PowerpackWidgetTreemapDefinitionRequestFormulaStyleInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. - CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // 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 PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs 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 (PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput).ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx) } -// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs, PowerpackWidgetTreemapDefinitionRequestFormulaStylePtr and PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} +// PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs{...} // // or: // // nil -type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput + ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput } -type powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs +type powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs -func PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestFormulaStylePtr(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyleArgs) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrInput { + return (*powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType)(v) } -func (*powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestFormulaStylePtrType) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStyleOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery { +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *PowerpackWidgetTreemapDefinitionRequestFormulaStyle { return &v - }).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(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 PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *string { return v.Palette }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *int { return v.PaletteIndex }).(pulumi.IntPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) +type PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestFormulaStyle)(nil)).Elem() } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput() PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o } -// The number of hits to return. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) ToPowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput { + return o } -// The process metric name. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyle) PowerpackWidgetTreemapDefinitionRequestFormulaStyle { + if v != nil { + return *v + } + var ret PowerpackWidgetTreemapDefinitionRequestFormulaStyle + return ret + }).(PowerpackWidgetTreemapDefinitionRequestFormulaStyleOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Name }).(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 PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) Palette() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *string { + if v == nil { + return nil + } + return v.Palette + }).(pulumi.StringPtrOutput) } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) +// Index specifying which color to use within the palette. +func (o PowerpackWidgetTreemapDefinitionRequestFormulaStylePtrOutput) PaletteIndex() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestFormulaStyle) *int { + if v == nil { + return nil + } + return v.PaletteIndex + }).(pulumi.IntPtrOutput) } -// An array of tags to filter by. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) +type PowerpackWidgetTreemapDefinitionRequestQuery struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery `pulumi:"sloQuery"` } -// The text to use as a filter. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) +// PowerpackWidgetTreemapDefinitionRequestQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryInput interface { + pulumi.Input + + ToPowerpackWidgetTreemapDefinitionRequestQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryOutput } -type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryArgs struct { + // The APM Dependency Stats query using formulas and functions. + ApmDependencyStatsQuery PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput `pulumi:"apmDependencyStatsQuery"` + // The APM Resource Stats query using formulas and functions. + ApmResourceStatsQuery PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput `pulumi:"apmResourceStatsQuery"` + // The Cloud Cost query using formulas and functions. + CloudCostQuery PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput `pulumi:"cloudCostQuery"` + // A timeseries formula and functions events query. + EventQuery PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput `pulumi:"eventQuery"` + // A timeseries formula and functions metrics query. + MetricQuery PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput `pulumi:"metricQuery"` + // The process query using formulas and functions. + ProcessQuery PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput `pulumi:"processQuery"` + // The SLO query using formulas and functions. + SloQuery PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput `pulumi:"sloQuery"` +} -func (PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { +func (i PowerpackWidgetTreemapDefinitionRequestQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTreemapDefinitionRequestQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryOutput) +} + +// PowerpackWidgetTreemapDefinitionRequestQueryArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryArray and PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryArrayInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestQueryArray{ PowerpackWidgetTreemapDefinitionRequestQueryArgs{...} } +type PowerpackWidgetTreemapDefinitionRequestQueryArrayInput interface { + pulumi.Input + + ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput +} + +type PowerpackWidgetTreemapDefinitionRequestQueryArray []PowerpackWidgetTreemapDefinitionRequestQueryInput + +func (PowerpackWidgetTreemapDefinitionRequestQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +} + +func (i PowerpackWidgetTreemapDefinitionRequestQueryArray) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(context.Background()) +} + +func (i PowerpackWidgetTreemapDefinitionRequestQueryArray) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery { - if v != nil { - return *v - } - var ret PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery - return ret - }).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) +// The APM Dependency Stats query using formulas and functions. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ApmDependencyStatsQuery() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { + return v.ApmDependencyStatsQuery + }).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Aggregator - }).(pulumi.StringPtrOutput) +// The APM Resource Stats query using formulas and functions. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ApmResourceStatsQuery() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { + return v.ApmResourceStatsQuery + }).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.CrossOrgUuids - }).(pulumi.StringPtrOutput) +// The Cloud Cost query using formulas and functions. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) CloudCostQuery() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery { + return v.CloudCostQuery + }).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// The data source for process queries. Valid values are `process`, `container`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.DataSource - }).(pulumi.StringPtrOutput) +// A timeseries formula and functions events query. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) EventQuery() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery { + return v.EventQuery + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) } -// Whether to normalize the CPU percentages. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { - if v == nil { - return nil - } - return v.IsNormalizedCpu - }).(pulumi.BoolPtrOutput) +// A timeseries formula and functions metrics query. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) MetricQuery() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery { + return v.MetricQuery + }).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) } -// The number of hits to return. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *int { - if v == nil { - return nil - } - return v.Limit - }).(pulumi.IntPtrOutput) +// The process query using formulas and functions. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) ProcessQuery() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery { + return v.ProcessQuery + }).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) } -// The process metric name. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Metric - }).(pulumi.StringPtrOutput) +// The SLO query using formulas and functions. +func (o PowerpackWidgetTreemapDefinitionRequestQueryOutput) SloQuery() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuery) *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery { + return v.SloQuery + }).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return &v.Name - }).(pulumi.StringPtrOutput) +type PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQuery)(nil)).Elem() } -// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.Sort - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { + return o } -// An array of tags to filter by. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) []string { - if v == nil { - return nil - } - return v.TagFilters - }).(pulumi.StringArrayOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput { + return o } -// The text to use as a filter. -func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { - if v == nil { - return nil - } - return v.TextFilter - }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestQuery { + return vs[0].([]PowerpackWidgetTreemapDefinitionRequestQuery)[vs[1].(int)] + }).(PowerpackWidgetTreemapDefinitionRequestQueryOutput) } -type PowerpackWidgetTreemapDefinitionRequestQuerySloQuery struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` +type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids *string `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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"` - // ID of an SLO to query. - SloId string `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType *string `pulumi:"sloQueryType"` + 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"` } -// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQuerySloQueryInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} -type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput - ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput } -type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs struct { - // Additional filters applied to the SLO query. - AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` +type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs struct { // The source organization UUID for cross organization queries. Feature in Private Beta. CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` - // The data source for SLO queries. Valid values are `slo`. + // The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. 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"` + // 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.StringPtrInput `pulumi:"name"` - // ID of an SLO to query. - SloId pulumi.StringInput `pulumi:"sloId"` - // type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. - SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` + 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 (PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput` via: // -// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} +// PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput - ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput } -type powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs - -func PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput { - return (*powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType)(v) +type powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs + +func PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType)(v) } -func (*powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return i.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return o.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { return &v - }).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) -} - -// Additional filters applied to the SLO query. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) } // The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.DataSource + }).(pulumi.StringOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +// APM environment. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { return v.IsUpstream }).(pulumi.BoolPtrOutput) } // The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +// Name of operation on service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) OperationName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.OperationName + }).(pulumi.StringOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(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 PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +// APM resource. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { + return v.ResourceName + }).(pulumi.StringOutput) } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { +// APM service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput { return o } -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) PowerpackWidgetTreemapDefinitionRequestQuerySloQuery { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetTreemapDefinitionRequestQuerySloQuery + var ret PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery return ret - }).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryOutput) } -// Additional filters applied to the SLO query. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.AdditionalQueryFilters + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// The source organization UUID for cross organization queries. Feature in Private Beta. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// The data source for APM Dependency Stats queries. Valid values are `apmDependencyStats`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.CrossOrgUuids + return &v.DataSource }).(pulumi.StringPtrOutput) } -// The data source for SLO queries. Valid values are `slo`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// APM environment. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.DataSource + return &v.Env }).(pulumi.StringPtrOutput) } -// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// Determines whether stats for upstream or downstream dependencies should be queried. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) IsUpstream() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *bool { if v == nil { return nil } - return v.GroupMode + return v.IsUpstream + }).(pulumi.BoolPtrOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name }).(pulumi.StringPtrOutput) } -// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// Name of operation on service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.Measure + return &v.OperationName }).(pulumi.StringPtrOutput) } -// The name of query for use in formulas. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *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 PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.Name + return v.PrimaryTagName }).(pulumi.StringPtrOutput) } -// ID of an SLO to query. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return &v.SloId + return v.PrimaryTagValue }).(pulumi.StringPtrOutput) } -// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. -func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { +// APM resource. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { if v == nil { return nil } - return v.SloQueryType + return &v.ResourceName }).(pulumi.StringPtrOutput) } -type PowerpackWidgetWidgetLayout 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"` +// APM service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Service + }).(pulumi.StringPtrOutput) } -// PowerpackWidgetWidgetLayoutInput is an input type that accepts PowerpackWidgetWidgetLayoutArgs and PowerpackWidgetWidgetLayoutOutput values. -// You can construct a concrete instance of `PowerpackWidgetWidgetLayoutInput` via: +// APM statistic. Valid values are `avgDuration`, `avgRootDuration`, `avgSpansPerTrace`, `errorRate`, `pctExecTime`, `pctOfTraces`, `totalTracesCount`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmDependencyStatsQuery) *string { + if v == nil { + return nil + } + return &v.Stat + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` +} + +// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput` via: // -// PowerpackWidgetWidgetLayoutArgs{...} -type PowerpackWidgetWidgetLayoutInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryInput interface { pulumi.Input - ToPowerpackWidgetWidgetLayoutOutput() PowerpackWidgetWidgetLayoutOutput - ToPowerpackWidgetWidgetLayoutOutputWithContext(context.Context) PowerpackWidgetWidgetLayoutOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput } -type PowerpackWidgetWidgetLayoutArgs 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 PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs struct { + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (PowerpackWidgetWidgetLayoutArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetWidgetLayout)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutOutput() PowerpackWidgetWidgetLayoutOutput { - return i.ToPowerpackWidgetWidgetLayoutOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(context.Background()) } -func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetWidgetLayoutOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) } -func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { - return i.ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetWidgetLayoutOutput).ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx) } -// PowerpackWidgetWidgetLayoutPtrInput is an input type that accepts PowerpackWidgetWidgetLayoutArgs, PowerpackWidgetWidgetLayoutPtr and PowerpackWidgetWidgetLayoutPtrOutput values. -// You can construct a concrete instance of `PowerpackWidgetWidgetLayoutPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput` via: // -// PowerpackWidgetWidgetLayoutArgs{...} +// PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs{...} // // or: // // nil -type PowerpackWidgetWidgetLayoutPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput interface { pulumi.Input - ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput - ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Context) PowerpackWidgetWidgetLayoutPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput } -type powerpackWidgetWidgetLayoutPtrType PowerpackWidgetWidgetLayoutArgs +type powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs -func PowerpackWidgetWidgetLayoutPtr(v *PowerpackWidgetWidgetLayoutArgs) PowerpackWidgetWidgetLayoutPtrInput { - return (*powerpackWidgetWidgetLayoutPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType)(v) } -func (*powerpackWidgetWidgetLayoutPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetWidgetLayout)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (i *powerpackWidgetWidgetLayoutPtrType) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { - return i.ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (i *powerpackWidgetWidgetLayoutPtrType) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetWidgetLayoutPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -type PowerpackWidgetWidgetLayoutOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput struct{ *pulumi.OutputState } -func (PowerpackWidgetWidgetLayoutOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PowerpackWidgetWidgetLayout)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() } -func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutOutput() PowerpackWidgetWidgetLayoutOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { return o } -func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { - return o.ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(context.Background()) } -func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetWidgetLayout) *PowerpackWidgetWidgetLayout { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { return &v - }).(PowerpackWidgetWidgetLayoutPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) } -// The height of the widget. -func (o PowerpackWidgetWidgetLayoutOutput) Height() pulumi.IntOutput { - return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.Height }).(pulumi.IntOutput) +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// 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 PowerpackWidgetWidgetLayoutOutput) IsColumnBreak() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PowerpackWidgetWidgetLayout) *bool { return v.IsColumnBreak }).(pulumi.BoolPtrOutput) +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The width of the widget. -func (o PowerpackWidgetWidgetLayoutOutput) Width() pulumi.IntOutput { - return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.Width }).(pulumi.IntOutput) +// APM environment. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Env() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Env }).(pulumi.StringOutput) } -// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. -func (o PowerpackWidgetWidgetLayoutOutput) X() pulumi.IntOutput { - return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.X }).(pulumi.IntOutput) +// Array of fields to group results by. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { return v.GroupBies }).(pulumi.StringArrayOutput) } -// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. -func (o PowerpackWidgetWidgetLayoutOutput) Y() pulumi.IntOutput { - return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.Y }).(pulumi.IntOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Name }).(pulumi.StringOutput) } -type PowerpackWidgetWidgetLayoutPtrOutput struct{ *pulumi.OutputState } +// Name of operation on service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.OperationName + }).(pulumi.StringPtrOutput) +} -func (PowerpackWidgetWidgetLayoutPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PowerpackWidgetWidgetLayout)(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 PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -func (o PowerpackWidgetWidgetLayoutPtrOutput) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) +} + +// APM resource. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + return v.ResourceName + }).(pulumi.StringPtrOutput) +} + +// APM service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Service }).(pulumi.StringOutput) +} + +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) Stat() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) string { return v.Stat }).(pulumi.StringOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetWidgetLayoutPtrOutput) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput { return o } -func (o PowerpackWidgetWidgetLayoutPtrOutput) Elem() PowerpackWidgetWidgetLayoutOutput { - return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) PowerpackWidgetWidgetLayout { +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery { if v != nil { return *v } - var ret PowerpackWidgetWidgetLayout - return ret - }).(PowerpackWidgetWidgetLayoutOutput) + var ret PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery + return ret + }).(PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryOutput) +} + +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) +} + +// The data source for APM Resource Stats queries. Valid values are `apmResourceStats`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) +} + +// APM environment. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Env() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Env + }).(pulumi.StringPtrOutput) +} + +// Array of fields to group results by. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) GroupBies() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) []string { + if v == nil { + return nil + } + return v.GroupBies + }).(pulumi.StringArrayOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) +} + +// Name of operation on service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) OperationName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { + if v == nil { + return nil + } + return v.OperationName + }).(pulumi.StringPtrOutput) } -// The height of the widget. -func (o PowerpackWidgetWidgetLayoutPtrOutput) Height() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { +// 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 PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Height - }).(pulumi.IntPtrOutput) + return v.PrimaryTagName + }).(pulumi.StringPtrOutput) } -// 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 PowerpackWidgetWidgetLayoutPtrOutput) IsColumnBreak() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *bool { +// Filter APM data by the second primary tag. `primaryTagName` must also be specified. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) PrimaryTagValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return v.IsColumnBreak - }).(pulumi.BoolPtrOutput) + return v.PrimaryTagValue + }).(pulumi.StringPtrOutput) } -// The width of the widget. -func (o PowerpackWidgetWidgetLayoutPtrOutput) Width() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { +// APM resource. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) ResourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Width - }).(pulumi.IntPtrOutput) + return v.ResourceName + }).(pulumi.StringPtrOutput) } -// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. -func (o PowerpackWidgetWidgetLayoutPtrOutput) X() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { +// APM service. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.X - }).(pulumi.IntPtrOutput) + return &v.Service + }).(pulumi.StringPtrOutput) } -// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. -func (o PowerpackWidgetWidgetLayoutPtrOutput) Y() pulumi.IntPtrOutput { - return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { +// APM statistic. Valid values are `errors`, `errorRate`, `hits`, `latencyAvg`, `latencyDistribution`, `latencyMax`, `latencyP50`, `latencyP75`, `latencyP90`, `latencyP95`, `latencyP99`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQueryPtrOutput) Stat() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryApmResourceStatsQuery) *string { if v == nil { return nil } - return &v.Y - }).(pulumi.IntPtrOutput) + return &v.Stat + }).(pulumi.StringPtrOutput) } -type ProviderDefaultTags struct { - // [Experimental - Monitors only] Resource tags to be applied by default across all resources. - Tags map[string]string `pulumi:"tags"` +type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// ProviderDefaultTagsInput is an input type that accepts ProviderDefaultTagsArgs and ProviderDefaultTagsOutput values. -// You can construct a concrete instance of `ProviderDefaultTagsInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryInput` via: // -// ProviderDefaultTagsArgs{...} -type ProviderDefaultTagsInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryInput interface { pulumi.Input - ToProviderDefaultTagsOutput() ProviderDefaultTagsOutput - ToProviderDefaultTagsOutputWithContext(context.Context) ProviderDefaultTagsOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput } -type ProviderDefaultTagsArgs struct { - // [Experimental - Monitors only] Resource tags to be applied by default across all resources. - Tags pulumi.StringMapInput `pulumi:"tags"` +type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs struct { + // The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. + Aggregator pulumi.StringPtrInput `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (ProviderDefaultTagsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ProviderDefaultTags)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsOutput() ProviderDefaultTagsOutput { - return i.ToProviderDefaultTagsOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(context.Background()) } -func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsOutputWithContext(ctx context.Context) ProviderDefaultTagsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderDefaultTagsOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) } -func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { - return i.ToProviderDefaultTagsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderDefaultTagsOutput).ToProviderDefaultTagsPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx) } -// ProviderDefaultTagsPtrInput is an input type that accepts ProviderDefaultTagsArgs, ProviderDefaultTagsPtr and ProviderDefaultTagsPtrOutput values. -// You can construct a concrete instance of `ProviderDefaultTagsPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput` via: // -// ProviderDefaultTagsArgs{...} +// PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs{...} // // or: // // nil -type ProviderDefaultTagsPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput interface { pulumi.Input - ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput - ToProviderDefaultTagsPtrOutputWithContext(context.Context) ProviderDefaultTagsPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput } -type providerDefaultTagsPtrType ProviderDefaultTagsArgs +type powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs -func ProviderDefaultTagsPtr(v *ProviderDefaultTagsArgs) ProviderDefaultTagsPtrInput { - return (*providerDefaultTagsPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType)(v) } -func (*providerDefaultTagsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ProviderDefaultTags)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (i *providerDefaultTagsPtrType) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { - return i.ToProviderDefaultTagsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (i *providerDefaultTagsPtrType) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ProviderDefaultTagsPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) } -type ProviderDefaultTagsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput struct{ *pulumi.OutputState } -func (ProviderDefaultTagsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ProviderDefaultTags)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() } -func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsOutput() ProviderDefaultTagsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsOutputWithContext(ctx context.Context) ProviderDefaultTagsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { return o } -func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { - return o.ToProviderDefaultTagsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(context.Background()) } -func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ProviderDefaultTags) *ProviderDefaultTags { +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery { return &v - }).(ProviderDefaultTagsPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) } -// [Experimental - Monitors only] Resource tags to be applied by default across all resources. -func (o ProviderDefaultTagsOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v ProviderDefaultTags) map[string]string { return v.Tags }).(pulumi.StringMapOutput) +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -type ProviderDefaultTagsPtrOutput struct{ *pulumi.OutputState } +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} -func (ProviderDefaultTagsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ProviderDefaultTags)(nil)).Elem() +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (o ProviderDefaultTagsPtrOutput) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { +// The name of the query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Name }).(pulumi.StringOutput) +} + +// The cloud cost query definition. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o ProviderDefaultTagsPtrOutput) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput { return o } -func (o ProviderDefaultTagsPtrOutput) Elem() ProviderDefaultTagsOutput { - return o.ApplyT(func(v *ProviderDefaultTags) ProviderDefaultTags { +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery { if v != nil { return *v } - var ret ProviderDefaultTags + var ret PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery return ret - }).(ProviderDefaultTagsOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryOutput) } -// [Experimental - Monitors only] Resource tags to be applied by default across all resources. -func (o ProviderDefaultTagsPtrOutput) Tags() pulumi.StringMapOutput { - return o.ApplyT(func(v *ProviderDefaultTags) map[string]string { +// The aggregation methods available for cloud cost queries. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { if v == nil { return nil } - return v.Tags - }).(pulumi.StringMapOutput) -} - -type RestrictionPolicyBinding struct { - // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. - Principals []string `pulumi:"principals"` - // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources - Relation string `pulumi:"relation"` + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// RestrictionPolicyBindingInput is an input type that accepts RestrictionPolicyBindingArgs and RestrictionPolicyBindingOutput values. -// You can construct a concrete instance of `RestrictionPolicyBindingInput` via: -// -// RestrictionPolicyBindingArgs{...} -type RestrictionPolicyBindingInput interface { - pulumi.Input - - ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput - ToRestrictionPolicyBindingOutputWithContext(context.Context) RestrictionPolicyBindingOutput +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -type RestrictionPolicyBindingArgs struct { - // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. - Principals pulumi.StringArrayInput `pulumi:"principals"` - // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources - Relation pulumi.StringInput `pulumi:"relation"` +// The data source for cloud cost queries. Valid values are `cloudCost`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -func (RestrictionPolicyBindingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() +// The name of the query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { - return i.ToRestrictionPolicyBindingOutputWithContext(context.Background()) +// The cloud cost query definition. +func (o PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryCloudCostQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingOutput) +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuery struct { + // The compute options. + Computes []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + DataSource string `pulumi:"dataSource"` + // Group by options. + GroupBies []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy `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 *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch `pulumi:"search"` + // Storage location (private beta). + Storage *string `pulumi:"storage"` } -// RestrictionPolicyBindingArrayInput is an input type that accepts RestrictionPolicyBindingArray and RestrictionPolicyBindingArrayOutput values. -// You can construct a concrete instance of `RestrictionPolicyBindingArrayInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryInput` via: // -// RestrictionPolicyBindingArray{ RestrictionPolicyBindingArgs{...} } -type RestrictionPolicyBindingArrayInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryInput interface { pulumi.Input - ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput - ToRestrictionPolicyBindingArrayOutputWithContext(context.Context) RestrictionPolicyBindingArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput } -type RestrictionPolicyBindingArray []RestrictionPolicyBindingInput +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs struct { + // The compute options. + Computes PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput `pulumi:"computes"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. + DataSource pulumi.StringInput `pulumi:"dataSource"` + // Group by options. + GroupBies PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput `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 PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput `pulumi:"search"` + // Storage location (private beta). + Storage pulumi.StringPtrInput `pulumi:"storage"` +} -func (RestrictionPolicyBindingArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { - return i.ToRestrictionPolicyBindingArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(context.Background()) } -func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingArrayOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) } -type RestrictionPolicyBindingOutput struct{ *pulumi.OutputState } +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) +} -func (RestrictionPolicyBindingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx) } -func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { - return o +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput interface { + pulumi.Input + + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput } -func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { - return o +type powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs + +func PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType)(v) } -// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. -func (o RestrictionPolicyBindingOutput) Principals() pulumi.StringArrayOutput { - return o.ApplyT(func(v RestrictionPolicyBinding) []string { return v.Principals }).(pulumi.StringArrayOutput) +func (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() } -// The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources -func (o RestrictionPolicyBindingOutput) Relation() pulumi.StringOutput { - return o.ApplyT(func(v RestrictionPolicyBinding) string { return v.Relation }).(pulumi.StringOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -type RestrictionPolicyBindingArrayOutput struct{ *pulumi.OutputState } +func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) +} -func (RestrictionPolicyBindingArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { return o } -func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { return o } -func (o RestrictionPolicyBindingArrayOutput) Index(i pulumi.IntInput) RestrictionPolicyBindingOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestrictionPolicyBinding { - return vs[0].([]RestrictionPolicyBinding)[vs[1].(int)] - }).(RestrictionPolicyBindingOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(context.Background()) } -type RolePermission struct { - // ID of the permission to assign. - Id string `pulumi:"id"` - // Name of the permission. - Name *string `pulumi:"name"` +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery { + return &v + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) } -// RolePermissionInput is an input type that accepts RolePermissionArgs and RolePermissionOutput values. -// You can construct a concrete instance of `RolePermissionInput` via: -// -// RolePermissionArgs{...} -type RolePermissionInput interface { - pulumi.Input +// The compute options. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Computes() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute { + return v.Computes + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) +} - ToRolePermissionOutput() RolePermissionOutput - ToRolePermissionOutputWithContext(context.Context) RolePermissionOutput +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -type RolePermissionArgs struct { - // ID of the permission to assign. - Id pulumi.StringInput `pulumi:"id"` - // Name of the permission. - Name pulumi.StringPtrInput `pulumi:"name"` +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.DataSource }).(pulumi.StringOutput) } -func (RolePermissionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RolePermission)(nil)).Elem() +// Group by options. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) GroupBies() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { + return v.GroupBies + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -func (i RolePermissionArgs) ToRolePermissionOutput() RolePermissionOutput { - return i.ToRolePermissionOutputWithContext(context.Background()) +// An array of index names to query in the stream. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []string { return v.Indexes }).(pulumi.StringArrayOutput) } -func (i RolePermissionArgs) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { - return pulumi.ToOutputWithContext(ctx, i).(RolePermissionOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) string { return v.Name }).(pulumi.StringOutput) } -// RolePermissionArrayInput is an input type that accepts RolePermissionArray and RolePermissionArrayOutput values. -// You can construct a concrete instance of `RolePermissionArrayInput` via: -// -// RolePermissionArray{ RolePermissionArgs{...} } -type RolePermissionArrayInput interface { - pulumi.Input +// The search options. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Search() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { + return v.Search + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) +} - ToRolePermissionArrayOutput() RolePermissionArrayOutput - ToRolePermissionArrayOutputWithContext(context.Context) RolePermissionArrayOutput +// Storage location (private beta). +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { return v.Storage }).(pulumi.StringPtrOutput) } -type RolePermissionArray []RolePermissionInput +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput struct{ *pulumi.OutputState } -func (RolePermissionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RolePermission)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuery)(nil)).Elem() } -func (i RolePermissionArray) ToRolePermissionArrayOutput() RolePermissionArrayOutput { - return i.ToRolePermissionArrayOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o } -func (i RolePermissionArray) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RolePermissionArrayOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput { + return o } -type RolePermissionOutput struct{ *pulumi.OutputState } - -func (RolePermissionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RolePermission)(nil)).Elem() +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) PowerpackWidgetTreemapDefinitionRequestQueryEventQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTreemapDefinitionRequestQueryEventQuery + return ret + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryOutput) } -func (o RolePermissionOutput) ToRolePermissionOutput() RolePermissionOutput { - return o +// The compute options. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Computes() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute { + if v == nil { + return nil + } + return v.Computes + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) } -func (o RolePermissionOutput) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { - return o +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// ID of the permission to assign. -func (o RolePermissionOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v RolePermission) string { return v.Id }).(pulumi.StringOutput) +// The data source for event platform-based queries. Valid values are `logs`, `spans`, `network`, `rum`, `securitySignals`, `profiles`, `audit`, `events`, `ciTests`, `ciPipelines`, `incidentAnalytics`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// Name of the permission. -func (o RolePermissionOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v RolePermission) *string { return v.Name }).(pulumi.StringPtrOutput) +// Group by options. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) GroupBies() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { + if v == nil { + return nil + } + return v.GroupBies + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type RolePermissionArrayOutput struct{ *pulumi.OutputState } - -func (RolePermissionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RolePermission)(nil)).Elem() +// An array of index names to query in the stream. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Indexes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) []string { + if v == nil { + return nil + } + return v.Indexes + }).(pulumi.StringArrayOutput) } -func (o RolePermissionArrayOutput) ToRolePermissionArrayOutput() RolePermissionArrayOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o RolePermissionArrayOutput) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { - return o +// The search options. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Search() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { + if v == nil { + return nil + } + return v.Search + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) } -func (o RolePermissionArrayOutput) Index(i pulumi.IntInput) RolePermissionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RolePermission { - return vs[0].([]RolePermission)[vs[1].(int)] - }).(RolePermissionOutput) +// Storage location (private beta). +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryPtrOutput) Storage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuery) *string { + if v == nil { + return nil + } + return v.Storage + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringDefaultRuleCase struct { - // Notification targets for each rule case. - Notifications []string `pulumi:"notifications"` - // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. - Status string `pulumi:"status"` +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute 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"` } -// SecurityMonitoringDefaultRuleCaseInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArgs and SecurityMonitoringDefaultRuleCaseOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput` via: // -// SecurityMonitoringDefaultRuleCaseArgs{...} -type SecurityMonitoringDefaultRuleCaseInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput interface { pulumi.Input - ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput - ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput } -type SecurityMonitoringDefaultRuleCaseArgs struct { - // Notification targets for each rule case. - Notifications pulumi.StringArrayInput `pulumi:"notifications"` - // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. - Status pulumi.StringInput `pulumi:"status"` +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs 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 (SecurityMonitoringDefaultRuleCaseArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { - return i.ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(context.Background()) } -func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) } -// SecurityMonitoringDefaultRuleCaseArrayInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArray and SecurityMonitoringDefaultRuleCaseArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseArrayInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput` via: // -// SecurityMonitoringDefaultRuleCaseArray{ SecurityMonitoringDefaultRuleCaseArgs{...} } -type SecurityMonitoringDefaultRuleCaseArrayInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray{ PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArgs{...} } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayInput interface { pulumi.Input - ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput - ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput } -type SecurityMonitoringDefaultRuleCaseArray []SecurityMonitoringDefaultRuleCaseInput +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeInput -func (SecurityMonitoringDefaultRuleCaseArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { - return i.ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(context.Background()) } -func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseArrayOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) } -type SecurityMonitoringDefaultRuleCaseOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringDefaultRuleCaseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { return o } -func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { return o } -// Notification targets for each rule case. -func (o SecurityMonitoringDefaultRuleCaseOutput) Notifications() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) []string { return v.Notifications }).(pulumi.StringArrayOutput) +// The aggregation methods for event platform queries. Valid values are `count`, `cardinality`, `median`, `pc75`, `pc90`, `pc95`, `pc98`, `pc99`, `sum`, `min`, `max`, `avg`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute) string { return v.Aggregation }).(pulumi.StringOutput) } -// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. -func (o SecurityMonitoringDefaultRuleCaseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) string { return v.Status }).(pulumi.StringOutput) +// A time interval in milliseconds. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Interval() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute) *int { return v.Interval }).(pulumi.IntPtrOutput) } -type SecurityMonitoringDefaultRuleCaseArrayOutput struct{ *pulumi.OutputState } +// The measurable attribute to compute. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute) *string { return v.Metric }).(pulumi.StringPtrOutput) +} -func (SecurityMonitoringDefaultRuleCaseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)(nil)).Elem() } -func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput { return o } -func (o SecurityMonitoringDefaultRuleCaseArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleCaseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleCase { - return vs[0].([]SecurityMonitoringDefaultRuleCase)[vs[1].(int)] - }).(SecurityMonitoringDefaultRuleCaseOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute { + return vs[0].([]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryCompute)[vs[1].(int)] + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryComputeOutput) } -type SecurityMonitoringDefaultRuleFilter struct { - // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. - Action string `pulumi:"action"` - // Query for selecting logs to apply the filtering action. - Query string `pulumi:"query"` +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy 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 *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort `pulumi:"sort"` } -// SecurityMonitoringDefaultRuleFilterInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArgs and SecurityMonitoringDefaultRuleFilterOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput` via: // -// SecurityMonitoringDefaultRuleFilterArgs{...} -type SecurityMonitoringDefaultRuleFilterInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput interface { pulumi.Input - ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput - ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput } -type SecurityMonitoringDefaultRuleFilterArgs struct { - // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. - Action pulumi.StringInput `pulumi:"action"` - // Query for selecting logs to apply the filtering action. - Query pulumi.StringInput `pulumi:"query"` +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput `pulumi:"sort"` } -func (SecurityMonitoringDefaultRuleFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { - return i.ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(context.Background()) } -func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) } -// SecurityMonitoringDefaultRuleFilterArrayInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArray and SecurityMonitoringDefaultRuleFilterArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterArrayInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput` via: // -// SecurityMonitoringDefaultRuleFilterArray{ SecurityMonitoringDefaultRuleFilterArgs{...} } -type SecurityMonitoringDefaultRuleFilterArrayInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray{ PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArgs{...} } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayInput interface { pulumi.Input - ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput - ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput } -type SecurityMonitoringDefaultRuleFilterArray []SecurityMonitoringDefaultRuleFilterInput +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray []PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByInput -func (SecurityMonitoringDefaultRuleFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { - return i.ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(context.Background()) } -func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterArrayOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArray) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) } -type SecurityMonitoringDefaultRuleFilterOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringDefaultRuleFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { return o } -func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { return o } -// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. -func (o SecurityMonitoringDefaultRuleFilterOutput) Action() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Action }).(pulumi.StringOutput) +// The event facet. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Facet() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) string { return v.Facet }).(pulumi.StringOutput) } -// Query for selecting logs to apply the filtering action. -func (o SecurityMonitoringDefaultRuleFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Query }).(pulumi.StringOutput) +// The number of groups to return. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) *int { return v.Limit }).(pulumi.IntPtrOutput) } -type SecurityMonitoringDefaultRuleFilterArrayOutput struct{ *pulumi.OutputState } +// The options for sorting group by results. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) Sort() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy) *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { + return v.Sort + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +} -func (SecurityMonitoringDefaultRuleFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)(nil)).Elem() } -func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput { return o } -func (o SecurityMonitoringDefaultRuleFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleFilter { - return vs[0].([]SecurityMonitoringDefaultRuleFilter)[vs[1].(int)] - }).(SecurityMonitoringDefaultRuleFilterOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByArrayOutput) Index(i pulumi.IntInput) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy { + return vs[0].([]PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBy)[vs[1].(int)] + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupByOutput) } -type SecurityMonitoringDefaultRuleOptions struct { - // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. - DecreaseCriticalityBasedOnEnv *bool `pulumi:"decreaseCriticalityBasedOnEnv"` +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort 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"` } -// SecurityMonitoringDefaultRuleOptionsInput is an input type that accepts SecurityMonitoringDefaultRuleOptionsArgs and SecurityMonitoringDefaultRuleOptionsOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleOptionsInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput` via: // -// SecurityMonitoringDefaultRuleOptionsArgs{...} -type SecurityMonitoringDefaultRuleOptionsInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortInput interface { pulumi.Input - ToSecurityMonitoringDefaultRuleOptionsOutput() SecurityMonitoringDefaultRuleOptionsOutput - ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(context.Context) SecurityMonitoringDefaultRuleOptionsOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput } -type SecurityMonitoringDefaultRuleOptionsArgs struct { - // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. - DecreaseCriticalityBasedOnEnv pulumi.BoolPtrInput `pulumi:"decreaseCriticalityBasedOnEnv"` +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs 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 (SecurityMonitoringDefaultRuleOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsOutput() SecurityMonitoringDefaultRuleOptionsOutput { - return i.ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(context.Background()) } -func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleOptionsOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) } -func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { - return i.ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleOptionsOutput).ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx) } -// SecurityMonitoringDefaultRuleOptionsPtrInput is an input type that accepts SecurityMonitoringDefaultRuleOptionsArgs, SecurityMonitoringDefaultRuleOptionsPtr and SecurityMonitoringDefaultRuleOptionsPtrOutput values. -// You can construct a concrete instance of `SecurityMonitoringDefaultRuleOptionsPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs, PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtr and PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput` via: // -// SecurityMonitoringDefaultRuleOptionsArgs{...} +// PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs{...} // // or: // // nil -type SecurityMonitoringDefaultRuleOptionsPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput interface { pulumi.Input - ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput - ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput } -type securityMonitoringDefaultRuleOptionsPtrType SecurityMonitoringDefaultRuleOptionsArgs +type powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs -func SecurityMonitoringDefaultRuleOptionsPtr(v *SecurityMonitoringDefaultRuleOptionsArgs) SecurityMonitoringDefaultRuleOptionsPtrInput { - return (*securityMonitoringDefaultRuleOptionsPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortArgs) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType)(v) } -func (*securityMonitoringDefaultRuleOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (i *securityMonitoringDefaultRuleOptionsPtrType) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { - return i.ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (i *securityMonitoringDefaultRuleOptionsPtrType) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleOptionsPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) } -type SecurityMonitoringDefaultRuleOptionsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringDefaultRuleOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsOutput() SecurityMonitoringDefaultRuleOptionsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { return o } -func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { - return o.ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringDefaultRuleOptions) *SecurityMonitoringDefaultRuleOptions { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { return &v - }).(SecurityMonitoringDefaultRuleOptionsPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) +} + +// 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Aggregation() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) string { return v.Aggregation }).(pulumi.StringOutput) +} + +// The metric used for sorting group by results. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Metric }).(pulumi.StringPtrOutput) } -// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. -func (o SecurityMonitoringDefaultRuleOptionsOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SecurityMonitoringDefaultRuleOptions) *bool { return v.DecreaseCriticalityBasedOnEnv }).(pulumi.BoolPtrOutput) +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { return v.Order }).(pulumi.StringPtrOutput) } -type SecurityMonitoringDefaultRuleOptionsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringDefaultRuleOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort)(nil)).Elem() } -func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput { return o } -func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) Elem() SecurityMonitoringDefaultRuleOptionsOutput { - return o.ApplyT(func(v *SecurityMonitoringDefaultRuleOptions) SecurityMonitoringDefaultRuleOptions { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort { if v != nil { return *v } - var ret SecurityMonitoringDefaultRuleOptions + var ret PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort return ret - }).(SecurityMonitoringDefaultRuleOptionsOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortOutput) } -// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. -func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringDefaultRuleOptions) *bool { +// 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 PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { if v == nil { return nil } - return v.DecreaseCriticalityBasedOnEnv - }).(pulumi.BoolPtrOutput) + return &v.Aggregation + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringFilterExclusionFilter struct { - // Exclusion filter name. - Name string `pulumi:"name"` - // Exclusion filter query. Logs that match this query are excluded from the security filter. +// The metric used for sorting group by results. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return v.Metric + }).(pulumi.StringPtrOutput) +} + +// Direction of sort. Valid values are `asc`, `desc`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySortPtrOutput) Order() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQueryGroupBySort) *string { + if v == nil { + return nil + } + return v.Order + }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch struct { + // The events search string. Query string `pulumi:"query"` } -// SecurityMonitoringFilterExclusionFilterInput is an input type that accepts SecurityMonitoringFilterExclusionFilterArgs and SecurityMonitoringFilterExclusionFilterOutput values. -// You can construct a concrete instance of `SecurityMonitoringFilterExclusionFilterInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs and PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchInput` via: // -// SecurityMonitoringFilterExclusionFilterArgs{...} -type SecurityMonitoringFilterExclusionFilterInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchInput interface { pulumi.Input - ToSecurityMonitoringFilterExclusionFilterOutput() SecurityMonitoringFilterExclusionFilterOutput - ToSecurityMonitoringFilterExclusionFilterOutputWithContext(context.Context) SecurityMonitoringFilterExclusionFilterOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput } -type SecurityMonitoringFilterExclusionFilterArgs struct { - // Exclusion filter name. - Name pulumi.StringInput `pulumi:"name"` - // Exclusion filter query. Logs that match this query are excluded from the security filter. +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs struct { + // The events search string. Query pulumi.StringInput `pulumi:"query"` } -func (SecurityMonitoringFilterExclusionFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (i SecurityMonitoringFilterExclusionFilterArgs) ToSecurityMonitoringFilterExclusionFilterOutput() SecurityMonitoringFilterExclusionFilterOutput { - return i.ToSecurityMonitoringFilterExclusionFilterOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(context.Background()) } -func (i SecurityMonitoringFilterExclusionFilterArgs) ToSecurityMonitoringFilterExclusionFilterOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringFilterExclusionFilterOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) } -// SecurityMonitoringFilterExclusionFilterArrayInput is an input type that accepts SecurityMonitoringFilterExclusionFilterArray and SecurityMonitoringFilterExclusionFilterArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringFilterExclusionFilterArrayInput` via: -// -// SecurityMonitoringFilterExclusionFilterArray{ SecurityMonitoringFilterExclusionFilterArgs{...} } -type SecurityMonitoringFilterExclusionFilterArrayInput interface { - pulumi.Input - - ToSecurityMonitoringFilterExclusionFilterArrayOutput() SecurityMonitoringFilterExclusionFilterArrayOutput - ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(context.Context) SecurityMonitoringFilterExclusionFilterArrayOutput +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type SecurityMonitoringFilterExclusionFilterArray []SecurityMonitoringFilterExclusionFilterInput - -func (SecurityMonitoringFilterExclusionFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +func (i PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx) } -func (i SecurityMonitoringFilterExclusionFilterArray) ToSecurityMonitoringFilterExclusionFilterArrayOutput() SecurityMonitoringFilterExclusionFilterArrayOutput { - return i.ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(context.Background()) -} +// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs, PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr and PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput interface { + pulumi.Input -func (i SecurityMonitoringFilterExclusionFilterArray) ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringFilterExclusionFilterArrayOutput) + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput } -type SecurityMonitoringFilterExclusionFilterOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringFilterExclusionFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringFilterExclusionFilter)(nil)).Elem() -} +type powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs -func (o SecurityMonitoringFilterExclusionFilterOutput) ToSecurityMonitoringFilterExclusionFilterOutput() SecurityMonitoringFilterExclusionFilterOutput { - return o +func PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchArgs) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType)(v) } -func (o SecurityMonitoringFilterExclusionFilterOutput) ToSecurityMonitoringFilterExclusionFilterOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterOutput { - return o +func (*powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -// Exclusion filter name. -func (o SecurityMonitoringFilterExclusionFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringFilterExclusionFilter) string { return v.Name }).(pulumi.StringOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -// Exclusion filter query. Logs that match this query are excluded from the security filter. -func (o SecurityMonitoringFilterExclusionFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringFilterExclusionFilter) string { return v.Query }).(pulumi.StringOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) } -type SecurityMonitoringFilterExclusionFilterArrayOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringFilterExclusionFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -func (o SecurityMonitoringFilterExclusionFilterArrayOutput) ToSecurityMonitoringFilterExclusionFilterArrayOutput() SecurityMonitoringFilterExclusionFilterArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o SecurityMonitoringFilterExclusionFilterArrayOutput) ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterArrayOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { return o } -func (o SecurityMonitoringFilterExclusionFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringFilterExclusionFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringFilterExclusionFilter { - return vs[0].([]SecurityMonitoringFilterExclusionFilter)[vs[1].(int)] - }).(SecurityMonitoringFilterExclusionFilterOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(context.Background()) } -type SecurityMonitoringRuleCase struct { - // A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries. - Condition *string `pulumi:"condition"` - // Name of the case. - Name *string `pulumi:"name"` - // Notification targets for each rule case. - Notifications []string `pulumi:"notifications"` - // Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`. - Status string `pulumi:"status"` +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { + return &v + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) } -// SecurityMonitoringRuleCaseInput is an input type that accepts SecurityMonitoringRuleCaseArgs and SecurityMonitoringRuleCaseOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleCaseInput` via: -// -// SecurityMonitoringRuleCaseArgs{...} -type SecurityMonitoringRuleCaseInput interface { - pulumi.Input +// The events search string. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) string { return v.Query }).(pulumi.StringOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput struct{ *pulumi.OutputState } - ToSecurityMonitoringRuleCaseOutput() SecurityMonitoringRuleCaseOutput - ToSecurityMonitoringRuleCaseOutputWithContext(context.Context) SecurityMonitoringRuleCaseOutput +func (PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch)(nil)).Elem() } -type SecurityMonitoringRuleCaseArgs struct { - // A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries. - Condition pulumi.StringPtrInput `pulumi:"condition"` - // Name of the case. - Name pulumi.StringPtrInput `pulumi:"name"` - // Notification targets for each rule case. - Notifications pulumi.StringArrayInput `pulumi:"notifications"` - // Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`. - Status pulumi.StringInput `pulumi:"status"` +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o } -func (SecurityMonitoringRuleCaseArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleCase)(nil)).Elem() +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput { + return o +} + +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch { + if v != nil { + return *v + } + var ret PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch + return ret + }).(PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchOutput) } -func (i SecurityMonitoringRuleCaseArgs) ToSecurityMonitoringRuleCaseOutput() SecurityMonitoringRuleCaseOutput { - return i.ToSecurityMonitoringRuleCaseOutputWithContext(context.Background()) +// The events search string. +func (o PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearchPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryEventQuerySearch) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -func (i SecurityMonitoringRuleCaseArgs) ToSecurityMonitoringRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleCaseOutput) +type PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// SecurityMonitoringRuleCaseArrayInput is an input type that accepts SecurityMonitoringRuleCaseArray and SecurityMonitoringRuleCaseArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleCaseArrayInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryInput` via: // -// SecurityMonitoringRuleCaseArray{ SecurityMonitoringRuleCaseArgs{...} } -type SecurityMonitoringRuleCaseArrayInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryInput interface { pulumi.Input - ToSecurityMonitoringRuleCaseArrayOutput() SecurityMonitoringRuleCaseArrayOutput - ToSecurityMonitoringRuleCaseArrayOutputWithContext(context.Context) SecurityMonitoringRuleCaseArrayOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput } -type SecurityMonitoringRuleCaseArray []SecurityMonitoringRuleCaseInput - -func (SecurityMonitoringRuleCaseArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleCase)(nil)).Elem() +type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (i SecurityMonitoringRuleCaseArray) ToSecurityMonitoringRuleCaseArrayOutput() SecurityMonitoringRuleCaseArrayOutput { - return i.ToSecurityMonitoringRuleCaseArrayOutputWithContext(context.Background()) +func (PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (i SecurityMonitoringRuleCaseArray) ToSecurityMonitoringRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleCaseArrayOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(context.Background()) } -type SecurityMonitoringRuleCaseOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringRuleCaseOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleCase)(nil)).Elem() +func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) } -func (o SecurityMonitoringRuleCaseOutput) ToSecurityMonitoringRuleCaseOutput() SecurityMonitoringRuleCaseOutput { - return o +func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringRuleCaseOutput) ToSecurityMonitoringRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseOutput { - return o +func (i PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx) } -// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries. -func (o SecurityMonitoringRuleCaseOutput) Condition() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleCase) *string { return v.Condition }).(pulumi.StringPtrOutput) -} +// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput` via: +// +// PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs{...} +// +// or: +// +// nil +type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput interface { + pulumi.Input -// Name of the case. -func (o SecurityMonitoringRuleCaseOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleCase) *string { return v.Name }).(pulumi.StringPtrOutput) + ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput } -// Notification targets for each rule case. -func (o SecurityMonitoringRuleCaseOutput) Notifications() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleCase) []string { return v.Notifications }).(pulumi.StringArrayOutput) -} +type powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs -// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`. -func (o SecurityMonitoringRuleCaseOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleCase) string { return v.Status }).(pulumi.StringOutput) +func PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType)(v) } -type SecurityMonitoringRuleCaseArrayOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringRuleCaseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleCase)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o SecurityMonitoringRuleCaseArrayOutput) ToSecurityMonitoringRuleCaseArrayOutput() SecurityMonitoringRuleCaseArrayOutput { - return o +func (i *powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringRuleCaseArrayOutput) ToSecurityMonitoringRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseArrayOutput { - return o +func (i *powerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) } -func (o SecurityMonitoringRuleCaseArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleCaseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleCase { - return vs[0].([]SecurityMonitoringRuleCase)[vs[1].(int)] - }).(SecurityMonitoringRuleCaseOutput) -} +type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput struct{ *pulumi.OutputState } -type SecurityMonitoringRuleFilter struct { - // The type of filtering action. Valid values are `require`, `suppress`. - Action string `pulumi:"action"` - // Query for selecting logs to apply the filtering action. - Query string `pulumi:"query"` +func (PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -// SecurityMonitoringRuleFilterInput is an input type that accepts SecurityMonitoringRuleFilterArgs and SecurityMonitoringRuleFilterOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleFilterInput` via: -// -// SecurityMonitoringRuleFilterArgs{...} -type SecurityMonitoringRuleFilterInput interface { - pulumi.Input - - ToSecurityMonitoringRuleFilterOutput() SecurityMonitoringRuleFilterOutput - ToSecurityMonitoringRuleFilterOutputWithContext(context.Context) SecurityMonitoringRuleFilterOutput +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return o } -type SecurityMonitoringRuleFilterArgs struct { - // The type of filtering action. Valid values are `require`, `suppress`. - Action pulumi.StringInput `pulumi:"action"` - // Query for selecting logs to apply the filtering action. - Query pulumi.StringInput `pulumi:"query"` +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return o } -func (SecurityMonitoringRuleFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleFilter)(nil)).Elem() +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleFilterArgs) ToSecurityMonitoringRuleFilterOutput() SecurityMonitoringRuleFilterOutput { - return i.ToSecurityMonitoringRuleFilterOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery { + return &v + }).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) } -func (i SecurityMonitoringRuleFilterArgs) ToSecurityMonitoringRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleFilterOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) } -// SecurityMonitoringRuleFilterArrayInput is an input type that accepts SecurityMonitoringRuleFilterArray and SecurityMonitoringRuleFilterArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleFilterArrayInput` via: -// -// SecurityMonitoringRuleFilterArray{ SecurityMonitoringRuleFilterArgs{...} } -type SecurityMonitoringRuleFilterArrayInput interface { - pulumi.Input - - ToSecurityMonitoringRuleFilterArrayOutput() SecurityMonitoringRuleFilterArrayOutput - ToSecurityMonitoringRuleFilterArrayOutputWithContext(context.Context) SecurityMonitoringRuleFilterArrayOutput +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleFilterArray []SecurityMonitoringRuleFilterInput - -func (SecurityMonitoringRuleFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleFilter)(nil)).Elem() +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { return v.DataSource }).(pulumi.StringPtrOutput) } -func (i SecurityMonitoringRuleFilterArray) ToSecurityMonitoringRuleFilterArrayOutput() SecurityMonitoringRuleFilterArrayOutput { - return i.ToSecurityMonitoringRuleFilterArrayOutputWithContext(context.Background()) +// The name of the query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Name }).(pulumi.StringOutput) } -func (i SecurityMonitoringRuleFilterArray) ToSecurityMonitoringRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleFilterArrayOutput) +// The metrics query definition. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) string { return v.Query }).(pulumi.StringOutput) } -type SecurityMonitoringRuleFilterOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleFilter)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery)(nil)).Elem() } -func (o SecurityMonitoringRuleFilterOutput) ToSecurityMonitoringRuleFilterOutput() SecurityMonitoringRuleFilterOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { return o } -func (o SecurityMonitoringRuleFilterOutput) ToSecurityMonitoringRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput { return o } -// The type of filtering action. Valid values are `require`, `suppress`. -func (o SecurityMonitoringRuleFilterOutput) Action() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleFilter) string { return v.Action }).(pulumi.StringOutput) +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery + return ret + }).(PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryOutput) } -// Query for selecting logs to apply the filtering action. -func (o SecurityMonitoringRuleFilterOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleFilter) string { return v.Query }).(pulumi.StringOutput) +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.Aggregator + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleFilterArrayOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringRuleFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleFilter)(nil)).Elem() +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -func (o SecurityMonitoringRuleFilterArrayOutput) ToSecurityMonitoringRuleFilterArrayOutput() SecurityMonitoringRuleFilterArrayOutput { - return o +// The data source for metrics queries. Defaults to `"metrics"`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return v.DataSource + }).(pulumi.StringPtrOutput) } -func (o SecurityMonitoringRuleFilterArrayOutput) ToSecurityMonitoringRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterArrayOutput { - return o +// The name of the query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -func (o SecurityMonitoringRuleFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleFilter { - return vs[0].([]SecurityMonitoringRuleFilter)[vs[1].(int)] - }).(SecurityMonitoringRuleFilterOutput) +// The metrics query definition. +func (o PowerpackWidgetTreemapDefinitionRequestQueryMetricQueryPtrOutput) Query() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryMetricQuery) *string { + if v == nil { + return nil + } + return &v.Query + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleOptions struct { - // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. - DecreaseCriticalityBasedOnEnv *bool `pulumi:"decreaseCriticalityBasedOnEnv"` - // The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. - DetectionMethod *string `pulumi:"detectionMethod"` - // A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. - EvaluationWindow *int `pulumi:"evaluationWindow"` - // Options for rules using the impossible travel detection method. - ImpossibleTravelOptions *SecurityMonitoringRuleOptionsImpossibleTravelOptions `pulumi:"impossibleTravelOptions"` - // Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. - KeepAlive *int `pulumi:"keepAlive"` - // A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. - MaxSignalDuration *int `pulumi:"maxSignalDuration"` - // New value rules specific options. - NewValueOptions *SecurityMonitoringRuleOptionsNewValueOptions `pulumi:"newValueOptions"` - // Options for rules using the third-party detection method. - ThirdPartyRuleOptions *SecurityMonitoringRuleOptionsThirdPartyRuleOptions `pulumi:"thirdPartyRuleOptions"` +type PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery struct { + // The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. + Aggregator *string `pulumi:"aggregator"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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"` } -// SecurityMonitoringRuleOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsArgs and SecurityMonitoringRuleOptionsOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs and PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryInput` via: // -// SecurityMonitoringRuleOptionsArgs{...} -type SecurityMonitoringRuleOptionsInput interface { +// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsOutput() SecurityMonitoringRuleOptionsOutput - ToSecurityMonitoringRuleOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput } -type SecurityMonitoringRuleOptionsArgs struct { - // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. - DecreaseCriticalityBasedOnEnv pulumi.BoolPtrInput `pulumi:"decreaseCriticalityBasedOnEnv"` - // The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. - DetectionMethod pulumi.StringPtrInput `pulumi:"detectionMethod"` - // A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. - EvaluationWindow pulumi.IntPtrInput `pulumi:"evaluationWindow"` - // Options for rules using the impossible travel detection method. - ImpossibleTravelOptions SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput `pulumi:"impossibleTravelOptions"` - // Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. - KeepAlive pulumi.IntPtrInput `pulumi:"keepAlive"` - // A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. - MaxSignalDuration pulumi.IntPtrInput `pulumi:"maxSignalDuration"` - // New value rules specific options. - NewValueOptions SecurityMonitoringRuleOptionsNewValueOptionsPtrInput `pulumi:"newValueOptions"` - // Options for rules using the third-party detection method. - ThirdPartyRuleOptions SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput `pulumi:"thirdPartyRuleOptions"` +type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs 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 source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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 (SecurityMonitoringRuleOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsOutput() SecurityMonitoringRuleOptionsOutput { - return i.ToSecurityMonitoringRuleOptionsOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) } -func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsOutput).ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx) } -// SecurityMonitoringRuleOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsArgs, SecurityMonitoringRuleOptionsPtr and SecurityMonitoringRuleOptionsPtrOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs, PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtr and PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput` via: // -// SecurityMonitoringRuleOptionsArgs{...} +// PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs{...} // // or: // // nil -type SecurityMonitoringRuleOptionsPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput - ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput } -type securityMonitoringRuleOptionsPtrType SecurityMonitoringRuleOptionsArgs +type powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs -func SecurityMonitoringRuleOptionsPtr(v *SecurityMonitoringRuleOptionsArgs) SecurityMonitoringRuleOptionsPtrInput { - return (*securityMonitoringRuleOptionsPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryArgs) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType)(v) } -func (*securityMonitoringRuleOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptions)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (i *securityMonitoringRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (i *securityMonitoringRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) } -type SecurityMonitoringRuleOptionsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsOutput() SecurityMonitoringRuleOptionsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { return o } -func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { return o } -func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { - return o.ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptions { +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery { return &v - }).(SecurityMonitoringRuleOptionsPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) +} + +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Aggregator }).(pulumi.StringPtrOutput) +} + +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. -func (o SecurityMonitoringRuleOptionsOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *bool { return v.DecreaseCriticalityBasedOnEnv }).(pulumi.BoolPtrOutput) +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.DataSource }).(pulumi.StringOutput) } -// The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. -func (o SecurityMonitoringRuleOptionsOutput) DetectionMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *string { return v.DetectionMethod }).(pulumi.StringPtrOutput) +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { return v.IsNormalizedCpu }).(pulumi.BoolPtrOutput) } -// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. -func (o SecurityMonitoringRuleOptionsOutput) EvaluationWindow() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *int { return v.EvaluationWindow }).(pulumi.IntPtrOutput) +// The number of hits to return. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *int { return v.Limit }).(pulumi.IntPtrOutput) } -// Options for rules using the impossible travel detection method. -func (o SecurityMonitoringRuleOptionsOutput) ImpossibleTravelOptions() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsImpossibleTravelOptions { - return v.ImpossibleTravelOptions - }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) +// The process metric name. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Metric() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Metric }).(pulumi.StringOutput) } -// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. -func (o SecurityMonitoringRuleOptionsOutput) KeepAlive() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *int { return v.KeepAlive }).(pulumi.IntPtrOutput) +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) string { return v.Name }).(pulumi.StringOutput) } -// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. -func (o SecurityMonitoringRuleOptionsOutput) MaxSignalDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *int { return v.MaxSignalDuration }).(pulumi.IntPtrOutput) +// The direction of the sort. Valid values are `asc`, `desc`. Defaults to `"desc"`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.Sort }).(pulumi.StringPtrOutput) } -// New value rules specific options. -func (o SecurityMonitoringRuleOptionsOutput) NewValueOptions() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsNewValueOptions { - return v.NewValueOptions - }).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) +// An array of tags to filter by. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) []string { return v.TagFilters }).(pulumi.StringArrayOutput) } -// Options for rules using the third-party detection method. -func (o SecurityMonitoringRuleOptionsOutput) ThirdPartyRuleOptions() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsThirdPartyRuleOptions { - return v.ThirdPartyRuleOptions - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) +// The text to use as a filter. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { return v.TextFilter }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleOptionsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o SecurityMonitoringRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput { return o } -func (o SecurityMonitoringRuleOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) SecurityMonitoringRuleOptions { +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery { if v != nil { return *v } - var ret SecurityMonitoringRuleOptions + var ret PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery return ret - }).(SecurityMonitoringRuleOptionsOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryOutput) } -// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. -func (o SecurityMonitoringRuleOptionsPtrOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *bool { +// The aggregation methods available for metrics queries. Valid values are `avg`, `min`, `max`, `sum`, `last`, `area`, `l2norm`, `percentile`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Aggregator() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.DecreaseCriticalityBasedOnEnv - }).(pulumi.BoolPtrOutput) + return v.Aggregator + }).(pulumi.StringPtrOutput) } -// The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. -func (o SecurityMonitoringRuleOptionsPtrOutput) DetectionMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *string { +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.DetectionMethod + return v.CrossOrgUuids }).(pulumi.StringPtrOutput) } -// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. -func (o SecurityMonitoringRuleOptionsPtrOutput) EvaluationWindow() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *int { +// The data source for process queries. Valid values are `process`, `container`. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.EvaluationWindow - }).(pulumi.IntPtrOutput) + return &v.DataSource + }).(pulumi.StringPtrOutput) } -// Options for rules using the impossible travel detection method. -func (o SecurityMonitoringRuleOptionsPtrOutput) ImpossibleTravelOptions() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsImpossibleTravelOptions { +// Whether to normalize the CPU percentages. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) IsNormalizedCpu() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *bool { if v == nil { return nil } - return v.ImpossibleTravelOptions - }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) + return v.IsNormalizedCpu + }).(pulumi.BoolPtrOutput) } -// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. -func (o SecurityMonitoringRuleOptionsPtrOutput) KeepAlive() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *int { +// The number of hits to return. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Limit() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *int { if v == nil { return nil } - return v.KeepAlive + return v.Limit }).(pulumi.IntPtrOutput) } -// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. -func (o SecurityMonitoringRuleOptionsPtrOutput) MaxSignalDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *int { +// The process metric name. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.MaxSignalDuration - }).(pulumi.IntPtrOutput) + return &v.Metric + }).(pulumi.StringPtrOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *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 PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) Sort() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { + if v == nil { + return nil + } + return v.Sort + }).(pulumi.StringPtrOutput) } -// New value rules specific options. -func (o SecurityMonitoringRuleOptionsPtrOutput) NewValueOptions() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsNewValueOptions { +// An array of tags to filter by. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TagFilters() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) []string { if v == nil { return nil } - return v.NewValueOptions - }).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) + return v.TagFilters + }).(pulumi.StringArrayOutput) } -// Options for rules using the third-party detection method. -func (o SecurityMonitoringRuleOptionsPtrOutput) ThirdPartyRuleOptions() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsThirdPartyRuleOptions { +// The text to use as a filter. +func (o PowerpackWidgetTreemapDefinitionRequestQueryProcessQueryPtrOutput) TextFilter() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQueryProcessQuery) *string { if v == nil { return nil } - return v.ThirdPartyRuleOptions - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) + return v.TextFilter + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleOptionsImpossibleTravelOptions struct { - // If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. - BaselineUserLocations *bool `pulumi:"baselineUserLocations"` +type PowerpackWidgetTreemapDefinitionRequestQuerySloQuery struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters *string `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids *string `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType *string `pulumi:"sloQueryType"` } -// SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs and SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput` via: +// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs and PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQuerySloQueryInput` via: // -// SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{...} -type SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput interface { +// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} +type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput - ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput + ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput + ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput } -type SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs struct { - // If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. - BaselineUserLocations pulumi.BoolPtrInput `pulumi:"baselineUserLocations"` +type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs struct { + // Additional filters applied to the SLO query. + AdditionalQueryFilters pulumi.StringPtrInput `pulumi:"additionalQueryFilters"` + // The source organization UUID for cross organization queries. Feature in Private Beta. + CrossOrgUuids pulumi.StringPtrInput `pulumi:"crossOrgUuids"` + // 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`, `timeSlice`. Defaults to `"metric"`. + SloQueryType pulumi.StringPtrInput `pulumi:"sloQueryType"` } -func (SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { - return i.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) +func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) } -func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput).ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx) +func (i PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput).ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx) } -// SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs, SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtr and SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput` via: +// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput is an input type that accepts PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs, PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtr and PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput` via: // -// SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{...} +// PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs{...} // // or: // // nil -type SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput interface { +type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput - ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput + ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput } -type securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs +type powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs -func SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtr(v *SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput { - return (*securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType)(v) +func PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtr(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQueryArgs) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrInput { + return (*powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType)(v) } -func (*securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +func (*powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (i *securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return i.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (i *securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) +func (i *powerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrType) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) } -type SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +func (PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { return o } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { return o } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return o.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o.ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptionsImpossibleTravelOptions) *SecurityMonitoringRuleOptionsImpossibleTravelOptions { +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery { return &v - }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) + }).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) +} + +// Additional filters applied to the SLO query. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.AdditionalQueryFilters }).(pulumi.StringPtrOutput) +} + +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.CrossOrgUuids }).(pulumi.StringPtrOutput) +} + +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) DataSource() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.DataSource }).(pulumi.StringOutput) +} + +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.GroupMode }).(pulumi.StringPtrOutput) +} + +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) Measure() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.Measure }).(pulumi.StringOutput) +} + +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// ID of an SLO to query. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloId() pulumi.StringOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) string { return v.SloId }).(pulumi.StringOutput) +} + +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { return v.SloQueryType }).(pulumi.StringPtrOutput) +} + +type PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput struct{ *pulumi.OutputState } + +func (PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetTreemapDefinitionRequestQuerySloQuery)(nil)).Elem() +} + +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) ToPowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutputWithContext(ctx context.Context) PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput { + return o +} + +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Elem() PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) PowerpackWidgetTreemapDefinitionRequestQuerySloQuery { + if v != nil { + return *v + } + var ret PowerpackWidgetTreemapDefinitionRequestQuerySloQuery + return ret + }).(PowerpackWidgetTreemapDefinitionRequestQuerySloQueryOutput) +} + +// Additional filters applied to the SLO query. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) AdditionalQueryFilters() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.AdditionalQueryFilters + }).(pulumi.StringPtrOutput) +} + +// The source organization UUID for cross organization queries. Feature in Private Beta. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) CrossOrgUuids() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.CrossOrgUuids + }).(pulumi.StringPtrOutput) } -// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) BaselineUserLocations() pulumi.BoolPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsImpossibleTravelOptions) *bool { return v.BaselineUserLocations }).(pulumi.BoolPtrOutput) +// The data source for SLO queries. Valid values are `slo`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) DataSource() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.DataSource + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput struct{ *pulumi.OutputState } - -func (SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +// Group mode to query measures. Valid values are `overall`, `components`. Defaults to `"overall"`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) GroupMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.GroupMode + }).(pulumi.StringPtrOutput) } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return o +// SLO measures queries. Valid values are `goodEvents`, `badEvents`, `sloStatus`, `errorBudgetRemaining`, `burnRate`, `errorBudgetBurndown`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Measure() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return &v.Measure + }).(pulumi.StringPtrOutput) } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { - return o +// The name of query for use in formulas. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) } -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsImpossibleTravelOptions) SecurityMonitoringRuleOptionsImpossibleTravelOptions { - if v != nil { - return *v +// ID of an SLO to query. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { + if v == nil { + return nil } - var ret SecurityMonitoringRuleOptionsImpossibleTravelOptions - return ret - }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) + return &v.SloId + }).(pulumi.StringPtrOutput) } -// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. -func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) BaselineUserLocations() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsImpossibleTravelOptions) *bool { +// type of the SLO to query. Valid values are `metric`, `timeSlice`. Defaults to `"metric"`. +func (o PowerpackWidgetTreemapDefinitionRequestQuerySloQueryPtrOutput) SloQueryType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetTreemapDefinitionRequestQuerySloQuery) *string { if v == nil { return nil } - return v.BaselineUserLocations - }).(pulumi.BoolPtrOutput) + return v.SloQueryType + }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleOptionsNewValueOptions struct { - // The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. - ForgetAfter int `pulumi:"forgetAfter"` - // The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. - LearningDuration *int `pulumi:"learningDuration"` - // The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. - LearningMethod *string `pulumi:"learningMethod"` - // A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. - LearningThreshold *int `pulumi:"learningThreshold"` +type PowerpackWidgetWidgetLayout 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"` } -// SecurityMonitoringRuleOptionsNewValueOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsNewValueOptionsArgs and SecurityMonitoringRuleOptionsNewValueOptionsOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsNewValueOptionsInput` via: +// PowerpackWidgetWidgetLayoutInput is an input type that accepts PowerpackWidgetWidgetLayoutArgs and PowerpackWidgetWidgetLayoutOutput values. +// You can construct a concrete instance of `PowerpackWidgetWidgetLayoutInput` via: // -// SecurityMonitoringRuleOptionsNewValueOptionsArgs{...} -type SecurityMonitoringRuleOptionsNewValueOptionsInput interface { +// PowerpackWidgetWidgetLayoutArgs{...} +type PowerpackWidgetWidgetLayoutInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsNewValueOptionsOutput() SecurityMonitoringRuleOptionsNewValueOptionsOutput - ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsNewValueOptionsOutput + ToPowerpackWidgetWidgetLayoutOutput() PowerpackWidgetWidgetLayoutOutput + ToPowerpackWidgetWidgetLayoutOutputWithContext(context.Context) PowerpackWidgetWidgetLayoutOutput } -type SecurityMonitoringRuleOptionsNewValueOptionsArgs struct { - // The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. - ForgetAfter pulumi.IntInput `pulumi:"forgetAfter"` - // The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. - LearningDuration pulumi.IntPtrInput `pulumi:"learningDuration"` - // The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. - LearningMethod pulumi.StringPtrInput `pulumi:"learningMethod"` - // A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. - LearningThreshold pulumi.IntPtrInput `pulumi:"learningThreshold"` +type PowerpackWidgetWidgetLayoutArgs 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 (SecurityMonitoringRuleOptionsNewValueOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +func (PowerpackWidgetWidgetLayoutArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetWidgetLayout)(nil)).Elem() } -func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsOutput() SecurityMonitoringRuleOptionsNewValueOptionsOutput { - return i.ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(context.Background()) +func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutOutput() PowerpackWidgetWidgetLayoutOutput { + return i.ToPowerpackWidgetWidgetLayoutOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsNewValueOptionsOutput) +func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetWidgetLayoutOutput) } -func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Background()) +func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { + return i.ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsNewValueOptionsOutput).ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx) +func (i PowerpackWidgetWidgetLayoutArgs) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetWidgetLayoutOutput).ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx) } -// SecurityMonitoringRuleOptionsNewValueOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsNewValueOptionsArgs, SecurityMonitoringRuleOptionsNewValueOptionsPtr and SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsNewValueOptionsPtrInput` via: +// PowerpackWidgetWidgetLayoutPtrInput is an input type that accepts PowerpackWidgetWidgetLayoutArgs, PowerpackWidgetWidgetLayoutPtr and PowerpackWidgetWidgetLayoutPtrOutput values. +// You can construct a concrete instance of `PowerpackWidgetWidgetLayoutPtrInput` via: // -// SecurityMonitoringRuleOptionsNewValueOptionsArgs{...} +// PowerpackWidgetWidgetLayoutArgs{...} // // or: // // nil -type SecurityMonitoringRuleOptionsNewValueOptionsPtrInput interface { +type PowerpackWidgetWidgetLayoutPtrInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput - ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput + ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput + ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Context) PowerpackWidgetWidgetLayoutPtrOutput } -type securityMonitoringRuleOptionsNewValueOptionsPtrType SecurityMonitoringRuleOptionsNewValueOptionsArgs +type powerpackWidgetWidgetLayoutPtrType PowerpackWidgetWidgetLayoutArgs -func SecurityMonitoringRuleOptionsNewValueOptionsPtr(v *SecurityMonitoringRuleOptionsNewValueOptionsArgs) SecurityMonitoringRuleOptionsNewValueOptionsPtrInput { - return (*securityMonitoringRuleOptionsNewValueOptionsPtrType)(v) +func PowerpackWidgetWidgetLayoutPtr(v *PowerpackWidgetWidgetLayoutArgs) PowerpackWidgetWidgetLayoutPtrInput { + return (*powerpackWidgetWidgetLayoutPtrType)(v) } -func (*securityMonitoringRuleOptionsNewValueOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +func (*powerpackWidgetWidgetLayoutPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetWidgetLayout)(nil)).Elem() } -func (i *securityMonitoringRuleOptionsNewValueOptionsPtrType) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Background()) +func (i *powerpackWidgetWidgetLayoutPtrType) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { + return i.ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Background()) } -func (i *securityMonitoringRuleOptionsNewValueOptionsPtrType) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) +func (i *powerpackWidgetWidgetLayoutPtrType) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PowerpackWidgetWidgetLayoutPtrOutput) } -type SecurityMonitoringRuleOptionsNewValueOptionsOutput struct{ *pulumi.OutputState } +type PowerpackWidgetWidgetLayoutOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsNewValueOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +func (PowerpackWidgetWidgetLayoutOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PowerpackWidgetWidgetLayout)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsOutput() SecurityMonitoringRuleOptionsNewValueOptionsOutput { +func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutOutput() PowerpackWidgetWidgetLayoutOutput { return o } -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsOutput { +func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutOutput { return o } -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return o.ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Background()) +func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { + return o.ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptionsNewValueOptions) *SecurityMonitoringRuleOptionsNewValueOptions { +func (o PowerpackWidgetWidgetLayoutOutput) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PowerpackWidgetWidgetLayout) *PowerpackWidgetWidgetLayout { return &v - }).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) + }).(PowerpackWidgetWidgetLayoutPtrOutput) } -// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ForgetAfter() pulumi.IntOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) int { return v.ForgetAfter }).(pulumi.IntOutput) +// The height of the widget. +func (o PowerpackWidgetWidgetLayoutOutput) Height() pulumi.IntOutput { + return o.ApplyT(func(v PowerpackWidgetWidgetLayout) 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 PowerpackWidgetWidgetLayoutOutput) IsColumnBreak() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PowerpackWidgetWidgetLayout) *bool { return v.IsColumnBreak }).(pulumi.BoolPtrOutput) } -// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) LearningDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) *int { return v.LearningDuration }).(pulumi.IntPtrOutput) +// The width of the widget. +func (o PowerpackWidgetWidgetLayoutOutput) Width() pulumi.IntOutput { + return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.Width }).(pulumi.IntOutput) } -// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) LearningMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) *string { return v.LearningMethod }).(pulumi.StringPtrOutput) +// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. +func (o PowerpackWidgetWidgetLayoutOutput) X() pulumi.IntOutput { + return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.X }).(pulumi.IntOutput) } -// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) LearningThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) *int { return v.LearningThreshold }).(pulumi.IntPtrOutput) +// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. +func (o PowerpackWidgetWidgetLayoutOutput) Y() pulumi.IntOutput { + return o.ApplyT(func(v PowerpackWidgetWidgetLayout) int { return v.Y }).(pulumi.IntOutput) } -type SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput struct{ *pulumi.OutputState } +type PowerpackWidgetWidgetLayoutPtrOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +func (PowerpackWidgetWidgetLayoutPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PowerpackWidgetWidgetLayout)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { +func (o PowerpackWidgetWidgetLayoutPtrOutput) ToPowerpackWidgetWidgetLayoutPtrOutput() PowerpackWidgetWidgetLayoutPtrOutput { return o } -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { +func (o PowerpackWidgetWidgetLayoutPtrOutput) ToPowerpackWidgetWidgetLayoutPtrOutputWithContext(ctx context.Context) PowerpackWidgetWidgetLayoutPtrOutput { return o } -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsNewValueOptionsOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) SecurityMonitoringRuleOptionsNewValueOptions { +func (o PowerpackWidgetWidgetLayoutPtrOutput) Elem() PowerpackWidgetWidgetLayoutOutput { + return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) PowerpackWidgetWidgetLayout { if v != nil { return *v } - var ret SecurityMonitoringRuleOptionsNewValueOptions + var ret PowerpackWidgetWidgetLayout return ret - }).(SecurityMonitoringRuleOptionsNewValueOptionsOutput) + }).(PowerpackWidgetWidgetLayoutOutput) } -// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ForgetAfter() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *int { +// The height of the widget. +func (o PowerpackWidgetWidgetLayoutPtrOutput) Height() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { if v == nil { return nil } - return &v.ForgetAfter + return &v.Height }).(pulumi.IntPtrOutput) } -// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) LearningDuration() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *int { +// 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 PowerpackWidgetWidgetLayoutPtrOutput) IsColumnBreak() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *bool { + if v == nil { + return nil + } + return v.IsColumnBreak + }).(pulumi.BoolPtrOutput) +} + +// The width of the widget. +func (o PowerpackWidgetWidgetLayoutPtrOutput) Width() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { if v == nil { return nil } - return v.LearningDuration + return &v.Width }).(pulumi.IntPtrOutput) } -// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) LearningMethod() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *string { +// The position of the widget on the x (horizontal) axis. Must be greater than or equal to 0. +func (o PowerpackWidgetWidgetLayoutPtrOutput) X() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { if v == nil { return nil } - return v.LearningMethod - }).(pulumi.StringPtrOutput) + return &v.X + }).(pulumi.IntPtrOutput) } -// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. -func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) LearningThreshold() pulumi.IntPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *int { +// The position of the widget on the y (vertical) axis. Must be greater than or equal to 0. +func (o PowerpackWidgetWidgetLayoutPtrOutput) Y() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PowerpackWidgetWidgetLayout) *int { if v == nil { return nil } - return v.LearningThreshold + return &v.Y }).(pulumi.IntPtrOutput) } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptions struct { - // Notification targets for the default rule case, when none of the third-party cases match. - DefaultNotifications []string `pulumi:"defaultNotifications"` - // Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. - DefaultStatus string `pulumi:"defaultStatus"` - // Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. - RootQueries []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery `pulumi:"rootQueries"` - // A template for the signal title; if omitted, the title is generated based on the case name. - SignalTitleTemplate *string `pulumi:"signalTitleTemplate"` +type ProviderDefaultTags struct { + // [Experimental - Monitors only] Resource tags to be applied by default across all resources. + Tags map[string]string `pulumi:"tags"` } -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput` via: +// ProviderDefaultTagsInput is an input type that accepts ProviderDefaultTagsArgs and ProviderDefaultTagsOutput values. +// You can construct a concrete instance of `ProviderDefaultTagsInput` via: // -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{...} -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput interface { +// ProviderDefaultTagsArgs{...} +type ProviderDefaultTagsInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput + ToProviderDefaultTagsOutput() ProviderDefaultTagsOutput + ToProviderDefaultTagsOutputWithContext(context.Context) ProviderDefaultTagsOutput } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs struct { - // Notification targets for the default rule case, when none of the third-party cases match. - DefaultNotifications pulumi.StringArrayInput `pulumi:"defaultNotifications"` - // Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. - DefaultStatus pulumi.StringInput `pulumi:"defaultStatus"` - // Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. - RootQueries SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput `pulumi:"rootQueries"` - // A template for the signal title; if omitted, the title is generated based on the case name. - SignalTitleTemplate pulumi.StringPtrInput `pulumi:"signalTitleTemplate"` +type ProviderDefaultTagsArgs struct { + // [Experimental - Monitors only] Resource tags to be applied by default across all resources. + Tags pulumi.StringMapInput `pulumi:"tags"` } -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +func (ProviderDefaultTagsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ProviderDefaultTags)(nil)).Elem() } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { - return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(context.Background()) +func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsOutput() ProviderDefaultTagsOutput { + return i.ToProviderDefaultTagsOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) +func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsOutputWithContext(ctx context.Context) ProviderDefaultTagsOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderDefaultTagsOutput) } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Background()) +func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { + return i.ToProviderDefaultTagsPtrOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput).ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx) +func (i ProviderDefaultTagsArgs) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderDefaultTagsOutput).ToProviderDefaultTagsPtrOutputWithContext(ctx) } -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs, SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtr and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput` via: +// ProviderDefaultTagsPtrInput is an input type that accepts ProviderDefaultTagsArgs, ProviderDefaultTagsPtr and ProviderDefaultTagsPtrOutput values. +// You can construct a concrete instance of `ProviderDefaultTagsPtrInput` via: // -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{...} +// ProviderDefaultTagsArgs{...} // // or: // // nil -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput interface { +type ProviderDefaultTagsPtrInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput + ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput + ToProviderDefaultTagsPtrOutputWithContext(context.Context) ProviderDefaultTagsPtrOutput } -type securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs +type providerDefaultTagsPtrType ProviderDefaultTagsArgs -func SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtr(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput { - return (*securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType)(v) +func ProviderDefaultTagsPtr(v *ProviderDefaultTagsArgs) ProviderDefaultTagsPtrInput { + return (*providerDefaultTagsPtrType)(v) } -func (*securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +func (*providerDefaultTagsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ProviderDefaultTags)(nil)).Elem() } -func (i *securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Background()) +func (i *providerDefaultTagsPtrType) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { + return i.ToProviderDefaultTagsPtrOutputWithContext(context.Background()) } -func (i *securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) +func (i *providerDefaultTagsPtrType) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ProviderDefaultTagsPtrOutput) } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput struct{ *pulumi.OutputState } +type ProviderDefaultTagsOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +func (ProviderDefaultTagsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ProviderDefaultTags)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { +func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsOutput() ProviderDefaultTagsOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { +func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsOutputWithContext(ctx context.Context) ProviderDefaultTagsOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return o.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Background()) +func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { + return o.ToProviderDefaultTagsPtrOutputWithContext(context.Background()) } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *SecurityMonitoringRuleOptionsThirdPartyRuleOptions { +func (o ProviderDefaultTagsOutput) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ProviderDefaultTags) *ProviderDefaultTags { return &v - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) -} - -// Notification targets for the default rule case, when none of the third-party cases match. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) DefaultNotifications() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []string { return v.DefaultNotifications }).(pulumi.StringArrayOutput) -} - -// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) DefaultStatus() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) string { return v.DefaultStatus }).(pulumi.StringOutput) -} - -// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) RootQueries() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery { - return v.RootQueries - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) + }).(ProviderDefaultTagsPtrOutput) } -// A template for the signal title; if omitted, the title is generated based on the case name. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) SignalTitleTemplate() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *string { return v.SignalTitleTemplate }).(pulumi.StringPtrOutput) +// [Experimental - Monitors only] Resource tags to be applied by default across all resources. +func (o ProviderDefaultTagsOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v ProviderDefaultTags) map[string]string { return v.Tags }).(pulumi.StringMapOutput) } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput struct{ *pulumi.OutputState } +type ProviderDefaultTagsPtrOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +func (ProviderDefaultTagsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ProviderDefaultTags)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { +func (o ProviderDefaultTagsPtrOutput) ToProviderDefaultTagsPtrOutput() ProviderDefaultTagsPtrOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { +func (o ProviderDefaultTagsPtrOutput) ToProviderDefaultTagsPtrOutputWithContext(ctx context.Context) ProviderDefaultTagsPtrOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) SecurityMonitoringRuleOptionsThirdPartyRuleOptions { +func (o ProviderDefaultTagsPtrOutput) Elem() ProviderDefaultTagsOutput { + return o.ApplyT(func(v *ProviderDefaultTags) ProviderDefaultTags { if v != nil { return *v } - var ret SecurityMonitoringRuleOptionsThirdPartyRuleOptions + var ret ProviderDefaultTags return ret - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) -} - -// Notification targets for the default rule case, when none of the third-party cases match. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) DefaultNotifications() pulumi.StringArrayOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []string { - if v == nil { - return nil - } - return v.DefaultNotifications - }).(pulumi.StringArrayOutput) -} - -// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) DefaultStatus() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *string { - if v == nil { - return nil - } - return &v.DefaultStatus - }).(pulumi.StringPtrOutput) -} - -// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) RootQueries() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery { - if v == nil { - return nil - } - return v.RootQueries - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) + }).(ProviderDefaultTagsOutput) } -// A template for the signal title; if omitted, the title is generated based on the case name. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) SignalTitleTemplate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *string { +// [Experimental - Monitors only] Resource tags to be applied by default across all resources. +func (o ProviderDefaultTagsPtrOutput) Tags() pulumi.StringMapOutput { + return o.ApplyT(func(v *ProviderDefaultTags) map[string]string { if v == nil { return nil } - return v.SignalTitleTemplate - }).(pulumi.StringPtrOutput) + return v.Tags + }).(pulumi.StringMapOutput) } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery struct { - // Fields to group by. If empty, each log triggers a signal. - GroupByFields []string `pulumi:"groupByFields"` - // Query to filter logs. - Query string `pulumi:"query"` +type RestrictionPolicyBinding struct { + // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + Principals []string `pulumi:"principals"` + // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources + Relation string `pulumi:"relation"` } -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput` via: +// RestrictionPolicyBindingInput is an input type that accepts RestrictionPolicyBindingArgs and RestrictionPolicyBindingOutput values. +// You can construct a concrete instance of `RestrictionPolicyBindingInput` via: // -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs{...} -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput interface { +// RestrictionPolicyBindingArgs{...} +type RestrictionPolicyBindingInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput + ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput + ToRestrictionPolicyBindingOutputWithContext(context.Context) RestrictionPolicyBindingOutput } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs struct { - // Fields to group by. If empty, each log triggers a signal. - GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"` - // Query to filter logs. - Query pulumi.StringInput `pulumi:"query"` +type RestrictionPolicyBindingArgs struct { + // An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. + Principals pulumi.StringArrayInput `pulumi:"principals"` + // The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources + Relation pulumi.StringInput `pulumi:"relation"` } -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +func (RestrictionPolicyBindingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { - return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(context.Background()) +func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { + return i.ToRestrictionPolicyBindingOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) +func (i RestrictionPolicyBindingArgs) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingOutput) } -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput` via: +// RestrictionPolicyBindingArrayInput is an input type that accepts RestrictionPolicyBindingArray and RestrictionPolicyBindingArrayOutput values. +// You can construct a concrete instance of `RestrictionPolicyBindingArrayInput` via: // -// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray{ SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs{...} } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput interface { +// RestrictionPolicyBindingArray{ RestrictionPolicyBindingArgs{...} } +type RestrictionPolicyBindingArrayInput interface { pulumi.Input - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput - ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput + ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput + ToRestrictionPolicyBindingArrayOutputWithContext(context.Context) RestrictionPolicyBindingArrayOutput } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput +type RestrictionPolicyBindingArray []RestrictionPolicyBindingInput -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +func (RestrictionPolicyBindingArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { - return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(context.Background()) +func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { + return i.ToRestrictionPolicyBindingArrayOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) +func (i RestrictionPolicyBindingArray) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RestrictionPolicyBindingArrayOutput) } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput struct{ *pulumi.OutputState } +type RestrictionPolicyBindingOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +func (RestrictionPolicyBindingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RestrictionPolicyBinding)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { +func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutput() RestrictionPolicyBindingOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { +func (o RestrictionPolicyBindingOutput) ToRestrictionPolicyBindingOutputWithContext(ctx context.Context) RestrictionPolicyBindingOutput { return o } -// Fields to group by. If empty, each log triggers a signal. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) GroupByFields() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery) []string { return v.GroupByFields }).(pulumi.StringArrayOutput) +// An array of principals. A principal is a subject or group of subjects. Each principal is formatted as `type:id`. Supported types: `role` and `org`. The org ID can be obtained through the api/v2/users API. +func (o RestrictionPolicyBindingOutput) Principals() pulumi.StringArrayOutput { + return o.ApplyT(func(v RestrictionPolicyBinding) []string { return v.Principals }).(pulumi.StringArrayOutput) } -// Query to filter logs. -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery) string { return v.Query }).(pulumi.StringOutput) +// The role/level of access. See this page for more details https://docs.datadoghq.com/api/latest/restriction-policies/#supported-relations-for-resources +func (o RestrictionPolicyBindingOutput) Relation() pulumi.StringOutput { + return o.ApplyT(func(v RestrictionPolicyBinding) string { return v.Relation }).(pulumi.StringOutput) } -type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput struct{ *pulumi.OutputState } +type RestrictionPolicyBindingArrayOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +func (RestrictionPolicyBindingArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RestrictionPolicyBinding)(nil)).Elem() } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { +func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutput() RestrictionPolicyBindingArrayOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { +func (o RestrictionPolicyBindingArrayOutput) ToRestrictionPolicyBindingArrayOutputWithContext(ctx context.Context) RestrictionPolicyBindingArrayOutput { return o } -func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery { - return vs[0].([]SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)[vs[1].(int)] - }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) +func (o RestrictionPolicyBindingArrayOutput) Index(i pulumi.IntInput) RestrictionPolicyBindingOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RestrictionPolicyBinding { + return vs[0].([]RestrictionPolicyBinding)[vs[1].(int)] + }).(RestrictionPolicyBindingOutput) } -type SecurityMonitoringRuleQuery struct { - // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. - // - // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. - AgentRules []SecurityMonitoringRuleQueryAgentRule `pulumi:"agentRules"` - // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. - Aggregation *string `pulumi:"aggregation"` - // Field for which the cardinality is measured. Sent as an array. - DistinctFields []string `pulumi:"distinctFields"` - // Fields to group by. - GroupByFields []string `pulumi:"groupByFields"` - // The target field to aggregate over when using the `sum`, `max`, or `geoData` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider. - // - // Deprecated: Configure `metrics` instead. This attribute will be removed in the next major version of the provider. - Metric *string `pulumi:"metric"` - // Group of target fields to aggregate over when using the `sum`, `max`, `geoData`, or `newValue` aggregations. The `sum`, `max`, and `geoData` aggregations only accept one value in this list, whereas the `newValue` aggregation accepts up to five values. - Metrics []string `pulumi:"metrics"` - // Name of the query. Not compatible with `newValue` aggregations. +type RolePermission struct { + // ID of the permission to assign. + Id string `pulumi:"id"` + // Name of the permission. Name *string `pulumi:"name"` - // Query to run on logs. - Query string `pulumi:"query"` } -// SecurityMonitoringRuleQueryInput is an input type that accepts SecurityMonitoringRuleQueryArgs and SecurityMonitoringRuleQueryOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleQueryInput` via: +// RolePermissionInput is an input type that accepts RolePermissionArgs and RolePermissionOutput values. +// You can construct a concrete instance of `RolePermissionInput` via: // -// SecurityMonitoringRuleQueryArgs{...} -type SecurityMonitoringRuleQueryInput interface { +// RolePermissionArgs{...} +type RolePermissionInput interface { pulumi.Input - ToSecurityMonitoringRuleQueryOutput() SecurityMonitoringRuleQueryOutput - ToSecurityMonitoringRuleQueryOutputWithContext(context.Context) SecurityMonitoringRuleQueryOutput + ToRolePermissionOutput() RolePermissionOutput + ToRolePermissionOutputWithContext(context.Context) RolePermissionOutput } -type SecurityMonitoringRuleQueryArgs struct { - // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. - // - // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. - AgentRules SecurityMonitoringRuleQueryAgentRuleArrayInput `pulumi:"agentRules"` - // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. - Aggregation pulumi.StringPtrInput `pulumi:"aggregation"` - // Field for which the cardinality is measured. Sent as an array. - DistinctFields pulumi.StringArrayInput `pulumi:"distinctFields"` - // Fields to group by. - GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"` - // The target field to aggregate over when using the `sum`, `max`, or `geoData` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider. - // - // Deprecated: Configure `metrics` instead. This attribute will be removed in the next major version of the provider. - Metric pulumi.StringPtrInput `pulumi:"metric"` - // Group of target fields to aggregate over when using the `sum`, `max`, `geoData`, or `newValue` aggregations. The `sum`, `max`, and `geoData` aggregations only accept one value in this list, whereas the `newValue` aggregation accepts up to five values. - Metrics pulumi.StringArrayInput `pulumi:"metrics"` - // Name of the query. Not compatible with `newValue` aggregations. +type RolePermissionArgs struct { + // ID of the permission to assign. + Id pulumi.StringInput `pulumi:"id"` + // Name of the permission. Name pulumi.StringPtrInput `pulumi:"name"` - // Query to run on logs. - Query pulumi.StringInput `pulumi:"query"` } -func (SecurityMonitoringRuleQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleQuery)(nil)).Elem() +func (RolePermissionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RolePermission)(nil)).Elem() } -func (i SecurityMonitoringRuleQueryArgs) ToSecurityMonitoringRuleQueryOutput() SecurityMonitoringRuleQueryOutput { - return i.ToSecurityMonitoringRuleQueryOutputWithContext(context.Background()) +func (i RolePermissionArgs) ToRolePermissionOutput() RolePermissionOutput { + return i.ToRolePermissionOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleQueryArgs) ToSecurityMonitoringRuleQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryOutput) +func (i RolePermissionArgs) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { + return pulumi.ToOutputWithContext(ctx, i).(RolePermissionOutput) } -// SecurityMonitoringRuleQueryArrayInput is an input type that accepts SecurityMonitoringRuleQueryArray and SecurityMonitoringRuleQueryArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleQueryArrayInput` via: +// RolePermissionArrayInput is an input type that accepts RolePermissionArray and RolePermissionArrayOutput values. +// You can construct a concrete instance of `RolePermissionArrayInput` via: // -// SecurityMonitoringRuleQueryArray{ SecurityMonitoringRuleQueryArgs{...} } -type SecurityMonitoringRuleQueryArrayInput interface { +// RolePermissionArray{ RolePermissionArgs{...} } +type RolePermissionArrayInput interface { pulumi.Input - ToSecurityMonitoringRuleQueryArrayOutput() SecurityMonitoringRuleQueryArrayOutput - ToSecurityMonitoringRuleQueryArrayOutputWithContext(context.Context) SecurityMonitoringRuleQueryArrayOutput + ToRolePermissionArrayOutput() RolePermissionArrayOutput + ToRolePermissionArrayOutputWithContext(context.Context) RolePermissionArrayOutput } -type SecurityMonitoringRuleQueryArray []SecurityMonitoringRuleQueryInput +type RolePermissionArray []RolePermissionInput -func (SecurityMonitoringRuleQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleQuery)(nil)).Elem() +func (RolePermissionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RolePermission)(nil)).Elem() } -func (i SecurityMonitoringRuleQueryArray) ToSecurityMonitoringRuleQueryArrayOutput() SecurityMonitoringRuleQueryArrayOutput { - return i.ToSecurityMonitoringRuleQueryArrayOutputWithContext(context.Background()) +func (i RolePermissionArray) ToRolePermissionArrayOutput() RolePermissionArrayOutput { + return i.ToRolePermissionArrayOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleQueryArray) ToSecurityMonitoringRuleQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryArrayOutput) +func (i RolePermissionArray) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RolePermissionArrayOutput) } -type SecurityMonitoringRuleQueryOutput struct{ *pulumi.OutputState } +type RolePermissionOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleQuery)(nil)).Elem() +func (RolePermissionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RolePermission)(nil)).Elem() } -func (o SecurityMonitoringRuleQueryOutput) ToSecurityMonitoringRuleQueryOutput() SecurityMonitoringRuleQueryOutput { +func (o RolePermissionOutput) ToRolePermissionOutput() RolePermissionOutput { return o } -func (o SecurityMonitoringRuleQueryOutput) ToSecurityMonitoringRuleQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryOutput { +func (o RolePermissionOutput) ToRolePermissionOutputWithContext(ctx context.Context) RolePermissionOutput { return o } -// **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. -// -// Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. -func (o SecurityMonitoringRuleQueryOutput) AgentRules() SecurityMonitoringRuleQueryAgentRuleArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) []SecurityMonitoringRuleQueryAgentRule { return v.AgentRules }).(SecurityMonitoringRuleQueryAgentRuleArrayOutput) -} - -// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. -func (o SecurityMonitoringRuleQueryOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) *string { return v.Aggregation }).(pulumi.StringPtrOutput) -} - -// Field for which the cardinality is measured. Sent as an array. -func (o SecurityMonitoringRuleQueryOutput) DistinctFields() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) []string { return v.DistinctFields }).(pulumi.StringArrayOutput) -} - -// Fields to group by. -func (o SecurityMonitoringRuleQueryOutput) GroupByFields() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) []string { return v.GroupByFields }).(pulumi.StringArrayOutput) -} - -// The target field to aggregate over when using the `sum`, `max`, or `geoData` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider. -// -// Deprecated: Configure `metrics` instead. This attribute will be removed in the next major version of the provider. -func (o SecurityMonitoringRuleQueryOutput) Metric() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) *string { return v.Metric }).(pulumi.StringPtrOutput) -} - -// Group of target fields to aggregate over when using the `sum`, `max`, `geoData`, or `newValue` aggregations. The `sum`, `max`, and `geoData` aggregations only accept one value in this list, whereas the `newValue` aggregation accepts up to five values. -func (o SecurityMonitoringRuleQueryOutput) Metrics() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) []string { return v.Metrics }).(pulumi.StringArrayOutput) -} - -// Name of the query. Not compatible with `newValue` aggregations. -func (o SecurityMonitoringRuleQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// ID of the permission to assign. +func (o RolePermissionOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v RolePermission) string { return v.Id }).(pulumi.StringOutput) } -// Query to run on logs. -func (o SecurityMonitoringRuleQueryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQuery) string { return v.Query }).(pulumi.StringOutput) +// Name of the permission. +func (o RolePermissionOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v RolePermission) *string { return v.Name }).(pulumi.StringPtrOutput) } -type SecurityMonitoringRuleQueryArrayOutput struct{ *pulumi.OutputState } +type RolePermissionArrayOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleQuery)(nil)).Elem() +func (RolePermissionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RolePermission)(nil)).Elem() } -func (o SecurityMonitoringRuleQueryArrayOutput) ToSecurityMonitoringRuleQueryArrayOutput() SecurityMonitoringRuleQueryArrayOutput { +func (o RolePermissionArrayOutput) ToRolePermissionArrayOutput() RolePermissionArrayOutput { return o } -func (o SecurityMonitoringRuleQueryArrayOutput) ToSecurityMonitoringRuleQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryArrayOutput { +func (o RolePermissionArrayOutput) ToRolePermissionArrayOutputWithContext(ctx context.Context) RolePermissionArrayOutput { return o } -func (o SecurityMonitoringRuleQueryArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleQuery { - return vs[0].([]SecurityMonitoringRuleQuery)[vs[1].(int)] - }).(SecurityMonitoringRuleQueryOutput) +func (o RolePermissionArrayOutput) Index(i pulumi.IntInput) RolePermissionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RolePermission { + return vs[0].([]RolePermission)[vs[1].(int)] + }).(RolePermissionOutput) } -type SecurityMonitoringRuleQueryAgentRule struct { - // **Deprecated**. It won't be applied anymore. - AgentRuleId string `pulumi:"agentRuleId"` - // **Deprecated**. It won't be applied anymore. - Expression string `pulumi:"expression"` +type SecurityMonitoringDefaultRuleCase struct { + // Notification targets for each rule case. + Notifications []string `pulumi:"notifications"` + // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. + Status string `pulumi:"status"` } -// SecurityMonitoringRuleQueryAgentRuleInput is an input type that accepts SecurityMonitoringRuleQueryAgentRuleArgs and SecurityMonitoringRuleQueryAgentRuleOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleQueryAgentRuleInput` via: +// SecurityMonitoringDefaultRuleCaseInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArgs and SecurityMonitoringDefaultRuleCaseOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseInput` via: // -// SecurityMonitoringRuleQueryAgentRuleArgs{...} -type SecurityMonitoringRuleQueryAgentRuleInput interface { +// SecurityMonitoringDefaultRuleCaseArgs{...} +type SecurityMonitoringDefaultRuleCaseInput interface { pulumi.Input - ToSecurityMonitoringRuleQueryAgentRuleOutput() SecurityMonitoringRuleQueryAgentRuleOutput - ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(context.Context) SecurityMonitoringRuleQueryAgentRuleOutput + ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput + ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseOutput } -type SecurityMonitoringRuleQueryAgentRuleArgs struct { - // **Deprecated**. It won't be applied anymore. - AgentRuleId pulumi.StringInput `pulumi:"agentRuleId"` - // **Deprecated**. It won't be applied anymore. - Expression pulumi.StringInput `pulumi:"expression"` +type SecurityMonitoringDefaultRuleCaseArgs struct { + // Notification targets for each rule case. + Notifications pulumi.StringArrayInput `pulumi:"notifications"` + // Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. + Status pulumi.StringInput `pulumi:"status"` } -func (SecurityMonitoringRuleQueryAgentRuleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +func (SecurityMonitoringDefaultRuleCaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() } -func (i SecurityMonitoringRuleQueryAgentRuleArgs) ToSecurityMonitoringRuleQueryAgentRuleOutput() SecurityMonitoringRuleQueryAgentRuleOutput { - return i.ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(context.Background()) +func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { + return i.ToSecurityMonitoringDefaultRuleCaseOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleQueryAgentRuleArgs) ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryAgentRuleOutput) +func (i SecurityMonitoringDefaultRuleCaseArgs) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseOutput) } -// SecurityMonitoringRuleQueryAgentRuleArrayInput is an input type that accepts SecurityMonitoringRuleQueryAgentRuleArray and SecurityMonitoringRuleQueryAgentRuleArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleQueryAgentRuleArrayInput` via: +// SecurityMonitoringDefaultRuleCaseArrayInput is an input type that accepts SecurityMonitoringDefaultRuleCaseArray and SecurityMonitoringDefaultRuleCaseArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleCaseArrayInput` via: // -// SecurityMonitoringRuleQueryAgentRuleArray{ SecurityMonitoringRuleQueryAgentRuleArgs{...} } -type SecurityMonitoringRuleQueryAgentRuleArrayInput interface { +// SecurityMonitoringDefaultRuleCaseArray{ SecurityMonitoringDefaultRuleCaseArgs{...} } +type SecurityMonitoringDefaultRuleCaseArrayInput interface { pulumi.Input - ToSecurityMonitoringRuleQueryAgentRuleArrayOutput() SecurityMonitoringRuleQueryAgentRuleArrayOutput - ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(context.Context) SecurityMonitoringRuleQueryAgentRuleArrayOutput + ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput + ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput } -type SecurityMonitoringRuleQueryAgentRuleArray []SecurityMonitoringRuleQueryAgentRuleInput +type SecurityMonitoringDefaultRuleCaseArray []SecurityMonitoringDefaultRuleCaseInput -func (SecurityMonitoringRuleQueryAgentRuleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +func (SecurityMonitoringDefaultRuleCaseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() } -func (i SecurityMonitoringRuleQueryAgentRuleArray) ToSecurityMonitoringRuleQueryAgentRuleArrayOutput() SecurityMonitoringRuleQueryAgentRuleArrayOutput { - return i.ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(context.Background()) +func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { + return i.ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleQueryAgentRuleArray) ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryAgentRuleArrayOutput) +func (i SecurityMonitoringDefaultRuleCaseArray) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleCaseArrayOutput) } -type SecurityMonitoringRuleQueryAgentRuleOutput struct{ *pulumi.OutputState } +type SecurityMonitoringDefaultRuleCaseOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleQueryAgentRuleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +func (SecurityMonitoringDefaultRuleCaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleCase)(nil)).Elem() } -func (o SecurityMonitoringRuleQueryAgentRuleOutput) ToSecurityMonitoringRuleQueryAgentRuleOutput() SecurityMonitoringRuleQueryAgentRuleOutput { +func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutput() SecurityMonitoringDefaultRuleCaseOutput { return o } -func (o SecurityMonitoringRuleQueryAgentRuleOutput) ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleOutput { +func (o SecurityMonitoringDefaultRuleCaseOutput) ToSecurityMonitoringDefaultRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseOutput { return o } -// **Deprecated**. It won't be applied anymore. -func (o SecurityMonitoringRuleQueryAgentRuleOutput) AgentRuleId() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQueryAgentRule) string { return v.AgentRuleId }).(pulumi.StringOutput) +// Notification targets for each rule case. +func (o SecurityMonitoringDefaultRuleCaseOutput) Notifications() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) []string { return v.Notifications }).(pulumi.StringArrayOutput) } -// **Deprecated**. It won't be applied anymore. -func (o SecurityMonitoringRuleQueryAgentRuleOutput) Expression() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleQueryAgentRule) string { return v.Expression }).(pulumi.StringOutput) +// Status of the rule case to match. Valid values are `info`, `low`, `medium`, `high`, `critical`. +func (o SecurityMonitoringDefaultRuleCaseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleCase) string { return v.Status }).(pulumi.StringOutput) } -type SecurityMonitoringRuleQueryAgentRuleArrayOutput struct{ *pulumi.OutputState } +type SecurityMonitoringDefaultRuleCaseArrayOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleQueryAgentRuleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +func (SecurityMonitoringDefaultRuleCaseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleCase)(nil)).Elem() } -func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) ToSecurityMonitoringRuleQueryAgentRuleArrayOutput() SecurityMonitoringRuleQueryAgentRuleArrayOutput { +func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutput() SecurityMonitoringDefaultRuleCaseArrayOutput { return o } -func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleArrayOutput { +func (o SecurityMonitoringDefaultRuleCaseArrayOutput) ToSecurityMonitoringDefaultRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleCaseArrayOutput { return o } -func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleQueryAgentRuleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleQueryAgentRule { - return vs[0].([]SecurityMonitoringRuleQueryAgentRule)[vs[1].(int)] - }).(SecurityMonitoringRuleQueryAgentRuleOutput) +func (o SecurityMonitoringDefaultRuleCaseArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleCaseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleCase { + return vs[0].([]SecurityMonitoringDefaultRuleCase)[vs[1].(int)] + }).(SecurityMonitoringDefaultRuleCaseOutput) } -type SecurityMonitoringRuleSignalQuery struct { - // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. - Aggregation *string `pulumi:"aggregation"` - // Fields to correlate by. - CorrelatedByFields []string `pulumi:"correlatedByFields"` - // Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`. - CorrelatedQueryIndex *string `pulumi:"correlatedQueryIndex"` - // Default Rule ID of the signal to correlate. This value is READ-ONLY. - DefaultRuleId *string `pulumi:"defaultRuleId"` - // Name of the query. Not compatible with `newValue` aggregations. - Name *string `pulumi:"name"` - // Rule ID of the signal to correlate. - RuleId string `pulumi:"ruleId"` +type SecurityMonitoringDefaultRuleFilter struct { + // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. + Action string `pulumi:"action"` + // Query for selecting logs to apply the filtering action. + Query string `pulumi:"query"` } -// SecurityMonitoringRuleSignalQueryInput is an input type that accepts SecurityMonitoringRuleSignalQueryArgs and SecurityMonitoringRuleSignalQueryOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleSignalQueryInput` via: +// SecurityMonitoringDefaultRuleFilterInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArgs and SecurityMonitoringDefaultRuleFilterOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterInput` via: // -// SecurityMonitoringRuleSignalQueryArgs{...} -type SecurityMonitoringRuleSignalQueryInput interface { +// SecurityMonitoringDefaultRuleFilterArgs{...} +type SecurityMonitoringDefaultRuleFilterInput interface { pulumi.Input - ToSecurityMonitoringRuleSignalQueryOutput() SecurityMonitoringRuleSignalQueryOutput - ToSecurityMonitoringRuleSignalQueryOutputWithContext(context.Context) SecurityMonitoringRuleSignalQueryOutput + ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput + ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterOutput } -type SecurityMonitoringRuleSignalQueryArgs struct { - // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. - Aggregation pulumi.StringPtrInput `pulumi:"aggregation"` - // Fields to correlate by. - CorrelatedByFields pulumi.StringArrayInput `pulumi:"correlatedByFields"` - // Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`. - CorrelatedQueryIndex pulumi.StringPtrInput `pulumi:"correlatedQueryIndex"` - // Default Rule ID of the signal to correlate. This value is READ-ONLY. - DefaultRuleId pulumi.StringPtrInput `pulumi:"defaultRuleId"` - // Name of the query. Not compatible with `newValue` aggregations. - Name pulumi.StringPtrInput `pulumi:"name"` - // Rule ID of the signal to correlate. - RuleId pulumi.StringInput `pulumi:"ruleId"` +type SecurityMonitoringDefaultRuleFilterArgs struct { + // The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. + Action pulumi.StringInput `pulumi:"action"` + // Query for selecting logs to apply the filtering action. + Query pulumi.StringInput `pulumi:"query"` } -func (SecurityMonitoringRuleSignalQueryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleSignalQuery)(nil)).Elem() +func (SecurityMonitoringDefaultRuleFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() } -func (i SecurityMonitoringRuleSignalQueryArgs) ToSecurityMonitoringRuleSignalQueryOutput() SecurityMonitoringRuleSignalQueryOutput { - return i.ToSecurityMonitoringRuleSignalQueryOutputWithContext(context.Background()) +func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { + return i.ToSecurityMonitoringDefaultRuleFilterOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleSignalQueryArgs) ToSecurityMonitoringRuleSignalQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleSignalQueryOutput) +func (i SecurityMonitoringDefaultRuleFilterArgs) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterOutput) } -// SecurityMonitoringRuleSignalQueryArrayInput is an input type that accepts SecurityMonitoringRuleSignalQueryArray and SecurityMonitoringRuleSignalQueryArrayOutput values. -// You can construct a concrete instance of `SecurityMonitoringRuleSignalQueryArrayInput` via: +// SecurityMonitoringDefaultRuleFilterArrayInput is an input type that accepts SecurityMonitoringDefaultRuleFilterArray and SecurityMonitoringDefaultRuleFilterArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleFilterArrayInput` via: // -// SecurityMonitoringRuleSignalQueryArray{ SecurityMonitoringRuleSignalQueryArgs{...} } -type SecurityMonitoringRuleSignalQueryArrayInput interface { +// SecurityMonitoringDefaultRuleFilterArray{ SecurityMonitoringDefaultRuleFilterArgs{...} } +type SecurityMonitoringDefaultRuleFilterArrayInput interface { pulumi.Input - ToSecurityMonitoringRuleSignalQueryArrayOutput() SecurityMonitoringRuleSignalQueryArrayOutput - ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(context.Context) SecurityMonitoringRuleSignalQueryArrayOutput + ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput + ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput } -type SecurityMonitoringRuleSignalQueryArray []SecurityMonitoringRuleSignalQueryInput +type SecurityMonitoringDefaultRuleFilterArray []SecurityMonitoringDefaultRuleFilterInput -func (SecurityMonitoringRuleSignalQueryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleSignalQuery)(nil)).Elem() +func (SecurityMonitoringDefaultRuleFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() } -func (i SecurityMonitoringRuleSignalQueryArray) ToSecurityMonitoringRuleSignalQueryArrayOutput() SecurityMonitoringRuleSignalQueryArrayOutput { - return i.ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(context.Background()) +func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { + return i.ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(context.Background()) } -func (i SecurityMonitoringRuleSignalQueryArray) ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleSignalQueryArrayOutput) +func (i SecurityMonitoringDefaultRuleFilterArray) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleFilterArrayOutput) } -type SecurityMonitoringRuleSignalQueryOutput struct{ *pulumi.OutputState } +type SecurityMonitoringDefaultRuleFilterOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleSignalQueryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityMonitoringRuleSignalQuery)(nil)).Elem() +func (SecurityMonitoringDefaultRuleFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleFilter)(nil)).Elem() } -func (o SecurityMonitoringRuleSignalQueryOutput) ToSecurityMonitoringRuleSignalQueryOutput() SecurityMonitoringRuleSignalQueryOutput { +func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutput() SecurityMonitoringDefaultRuleFilterOutput { return o } -func (o SecurityMonitoringRuleSignalQueryOutput) ToSecurityMonitoringRuleSignalQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryOutput { +func (o SecurityMonitoringDefaultRuleFilterOutput) ToSecurityMonitoringDefaultRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterOutput { return o } -// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. -func (o SecurityMonitoringRuleSignalQueryOutput) Aggregation() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.Aggregation }).(pulumi.StringPtrOutput) -} - -// Fields to correlate by. -func (o SecurityMonitoringRuleSignalQueryOutput) CorrelatedByFields() pulumi.StringArrayOutput { - return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) []string { return v.CorrelatedByFields }).(pulumi.StringArrayOutput) -} - -// Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`. -func (o SecurityMonitoringRuleSignalQueryOutput) CorrelatedQueryIndex() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.CorrelatedQueryIndex }).(pulumi.StringPtrOutput) -} - -// Default Rule ID of the signal to correlate. This value is READ-ONLY. -func (o SecurityMonitoringRuleSignalQueryOutput) DefaultRuleId() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.DefaultRuleId }).(pulumi.StringPtrOutput) -} - -// Name of the query. Not compatible with `newValue` aggregations. -func (o SecurityMonitoringRuleSignalQueryOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +// The type of filtering action. Allowed enum values: require, suppress Valid values are `require`, `suppress`. +func (o SecurityMonitoringDefaultRuleFilterOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Action }).(pulumi.StringOutput) } -// Rule ID of the signal to correlate. -func (o SecurityMonitoringRuleSignalQueryOutput) RuleId() pulumi.StringOutput { - return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) string { return v.RuleId }).(pulumi.StringOutput) +// Query for selecting logs to apply the filtering action. +func (o SecurityMonitoringDefaultRuleFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleFilter) string { return v.Query }).(pulumi.StringOutput) } -type SecurityMonitoringRuleSignalQueryArrayOutput struct{ *pulumi.OutputState } +type SecurityMonitoringDefaultRuleFilterArrayOutput struct{ *pulumi.OutputState } -func (SecurityMonitoringRuleSignalQueryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]SecurityMonitoringRuleSignalQuery)(nil)).Elem() +func (SecurityMonitoringDefaultRuleFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringDefaultRuleFilter)(nil)).Elem() } -func (o SecurityMonitoringRuleSignalQueryArrayOutput) ToSecurityMonitoringRuleSignalQueryArrayOutput() SecurityMonitoringRuleSignalQueryArrayOutput { +func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutput() SecurityMonitoringDefaultRuleFilterArrayOutput { return o } -func (o SecurityMonitoringRuleSignalQueryArrayOutput) ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryArrayOutput { +func (o SecurityMonitoringDefaultRuleFilterArrayOutput) ToSecurityMonitoringDefaultRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleFilterArrayOutput { return o } -func (o SecurityMonitoringRuleSignalQueryArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleSignalQueryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleSignalQuery { - return vs[0].([]SecurityMonitoringRuleSignalQuery)[vs[1].(int)] - }).(SecurityMonitoringRuleSignalQueryOutput) +func (o SecurityMonitoringDefaultRuleFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringDefaultRuleFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringDefaultRuleFilter { + return vs[0].([]SecurityMonitoringDefaultRuleFilter)[vs[1].(int)] + }).(SecurityMonitoringDefaultRuleFilterOutput) } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeArgs{}) @@ -89557,6 +89398,13 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrInput)(nil)).Elem(), PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionInput)(nil)).Elem(), PowerpackWidgetQueryValueDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetQueryValueDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetQueryValueDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetQueryValueDefinitionCustomLinkArgs{}) @@ -90111,6 +89959,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestStyleInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionRequestStyleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionRequestStylePtrInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionRequestStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyleInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionStyleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyleArrayInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionStyleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyleDisplayInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionStyleDisplayArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetToplistDefinitionStyleDisplayArrayInput)(nil)).Elem(), PowerpackWidgetToplistDefinitionStyleDisplayArray{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionInput)(nil)).Elem(), PowerpackWidgetTopologyMapDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionPtrInput)(nil)).Elem(), PowerpackWidgetTopologyMapDefinitionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PowerpackWidgetTopologyMapDefinitionCustomLinkInput)(nil)).Elem(), PowerpackWidgetTopologyMapDefinitionCustomLinkArgs{}) @@ -90169,30 +90021,18 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleCaseArrayInput)(nil)).Elem(), SecurityMonitoringDefaultRuleCaseArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleFilterInput)(nil)).Elem(), SecurityMonitoringDefaultRuleFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleFilterArrayInput)(nil)).Elem(), SecurityMonitoringDefaultRuleFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleOptionsInput)(nil)).Elem(), SecurityMonitoringDefaultRuleOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringDefaultRuleOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringFilterExclusionFilterInput)(nil)).Elem(), SecurityMonitoringFilterExclusionFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringFilterExclusionFilterArrayInput)(nil)).Elem(), SecurityMonitoringFilterExclusionFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleCaseInput)(nil)).Elem(), SecurityMonitoringRuleCaseArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleCaseArrayInput)(nil)).Elem(), SecurityMonitoringRuleCaseArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleFilterInput)(nil)).Elem(), SecurityMonitoringRuleFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleFilterArrayInput)(nil)).Elem(), SecurityMonitoringRuleFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsNewValueOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsNewValueOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryInput)(nil)).Elem(), SecurityMonitoringRuleQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleQueryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRuleInput)(nil)).Elem(), SecurityMonitoringRuleQueryAgentRuleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRuleArrayInput)(nil)).Elem(), SecurityMonitoringRuleQueryAgentRuleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleSignalQueryInput)(nil)).Elem(), SecurityMonitoringRuleSignalQueryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleSignalQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleSignalQueryArray{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupByArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryGroupBySortQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestRumQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryComputeQueryPtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupByArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetDistributionDefinitionRequestSecurityQueryMultiComputeOutput{}) @@ -90556,6 +90396,13 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeOutput{}) pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplacePtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetQueryValueDefinitionOutput{}) pulumi.RegisterOutputType(PowerpackWidgetQueryValueDefinitionPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetQueryValueDefinitionCustomLinkOutput{}) @@ -91110,6 +90957,10 @@ func init() { pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionRequestStyleOutput{}) pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionRequestStylePtrOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionStyleOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionStyleArrayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionStyleDisplayOutput{}) + pulumi.RegisterOutputType(PowerpackWidgetToplistDefinitionStyleDisplayArrayOutput{}) pulumi.RegisterOutputType(PowerpackWidgetTopologyMapDefinitionOutput{}) pulumi.RegisterOutputType(PowerpackWidgetTopologyMapDefinitionPtrOutput{}) pulumi.RegisterOutputType(PowerpackWidgetTopologyMapDefinitionCustomLinkOutput{}) @@ -91168,28 +91019,4 @@ func init() { pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleCaseArrayOutput{}) pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleFilterOutput{}) pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleFilterArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleOptionsOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleOptionsPtrOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringFilterExclusionFilterOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringFilterExclusionFilterArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleCaseOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleCaseArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleFilterOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleFilterArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsPtrOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsNewValueOptionsOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleQueryOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleQueryArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleQueryAgentRuleOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleQueryAgentRuleArrayOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleSignalQueryOutput{}) - pulumi.RegisterOutputType(SecurityMonitoringRuleSignalQueryArrayOutput{}) } diff --git a/sdk/go/datadog/pulumiTypes2.go b/sdk/go/datadog/pulumiTypes2.go index 7c28bb10a..2e7dc97a8 100644 --- a/sdk/go/datadog/pulumiTypes2.go +++ b/sdk/go/datadog/pulumiTypes2.go @@ -13,6 +13,1808 @@ import ( var _ = internal.GetEnvOrDefault +type SecurityMonitoringDefaultRuleOptions struct { + // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. + DecreaseCriticalityBasedOnEnv *bool `pulumi:"decreaseCriticalityBasedOnEnv"` +} + +// SecurityMonitoringDefaultRuleOptionsInput is an input type that accepts SecurityMonitoringDefaultRuleOptionsArgs and SecurityMonitoringDefaultRuleOptionsOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleOptionsInput` via: +// +// SecurityMonitoringDefaultRuleOptionsArgs{...} +type SecurityMonitoringDefaultRuleOptionsInput interface { + pulumi.Input + + ToSecurityMonitoringDefaultRuleOptionsOutput() SecurityMonitoringDefaultRuleOptionsOutput + ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(context.Context) SecurityMonitoringDefaultRuleOptionsOutput +} + +type SecurityMonitoringDefaultRuleOptionsArgs struct { + // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. + DecreaseCriticalityBasedOnEnv pulumi.BoolPtrInput `pulumi:"decreaseCriticalityBasedOnEnv"` +} + +func (SecurityMonitoringDefaultRuleOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +} + +func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsOutput() SecurityMonitoringDefaultRuleOptionsOutput { + return i.ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleOptionsOutput) +} + +func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { + return i.ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringDefaultRuleOptionsArgs) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleOptionsOutput).ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx) +} + +// SecurityMonitoringDefaultRuleOptionsPtrInput is an input type that accepts SecurityMonitoringDefaultRuleOptionsArgs, SecurityMonitoringDefaultRuleOptionsPtr and SecurityMonitoringDefaultRuleOptionsPtrOutput values. +// You can construct a concrete instance of `SecurityMonitoringDefaultRuleOptionsPtrInput` via: +// +// SecurityMonitoringDefaultRuleOptionsArgs{...} +// +// or: +// +// nil +type SecurityMonitoringDefaultRuleOptionsPtrInput interface { + pulumi.Input + + ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput + ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput +} + +type securityMonitoringDefaultRuleOptionsPtrType SecurityMonitoringDefaultRuleOptionsArgs + +func SecurityMonitoringDefaultRuleOptionsPtr(v *SecurityMonitoringDefaultRuleOptionsArgs) SecurityMonitoringDefaultRuleOptionsPtrInput { + return (*securityMonitoringDefaultRuleOptionsPtrType)(v) +} + +func (*securityMonitoringDefaultRuleOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +} + +func (i *securityMonitoringDefaultRuleOptionsPtrType) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { + return i.ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (i *securityMonitoringDefaultRuleOptionsPtrType) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringDefaultRuleOptionsPtrOutput) +} + +type SecurityMonitoringDefaultRuleOptionsOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringDefaultRuleOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +} + +func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsOutput() SecurityMonitoringDefaultRuleOptionsOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { + return o.ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (o SecurityMonitoringDefaultRuleOptionsOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringDefaultRuleOptions) *SecurityMonitoringDefaultRuleOptions { + return &v + }).(SecurityMonitoringDefaultRuleOptionsPtrOutput) +} + +// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. +func (o SecurityMonitoringDefaultRuleOptionsOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SecurityMonitoringDefaultRuleOptions) *bool { return v.DecreaseCriticalityBasedOnEnv }).(pulumi.BoolPtrOutput) +} + +type SecurityMonitoringDefaultRuleOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringDefaultRuleOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringDefaultRuleOptions)(nil)).Elem() +} + +func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutput() SecurityMonitoringDefaultRuleOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) ToSecurityMonitoringDefaultRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringDefaultRuleOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) Elem() SecurityMonitoringDefaultRuleOptionsOutput { + return o.ApplyT(func(v *SecurityMonitoringDefaultRuleOptions) SecurityMonitoringDefaultRuleOptions { + if v != nil { + return *v + } + var ret SecurityMonitoringDefaultRuleOptions + return ret + }).(SecurityMonitoringDefaultRuleOptionsOutput) +} + +// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. +func (o SecurityMonitoringDefaultRuleOptionsPtrOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringDefaultRuleOptions) *bool { + if v == nil { + return nil + } + return v.DecreaseCriticalityBasedOnEnv + }).(pulumi.BoolPtrOutput) +} + +type SecurityMonitoringFilterExclusionFilter struct { + // Exclusion filter name. + Name string `pulumi:"name"` + // Exclusion filter query. Logs that match this query are excluded from the security filter. + Query string `pulumi:"query"` +} + +// SecurityMonitoringFilterExclusionFilterInput is an input type that accepts SecurityMonitoringFilterExclusionFilterArgs and SecurityMonitoringFilterExclusionFilterOutput values. +// You can construct a concrete instance of `SecurityMonitoringFilterExclusionFilterInput` via: +// +// SecurityMonitoringFilterExclusionFilterArgs{...} +type SecurityMonitoringFilterExclusionFilterInput interface { + pulumi.Input + + ToSecurityMonitoringFilterExclusionFilterOutput() SecurityMonitoringFilterExclusionFilterOutput + ToSecurityMonitoringFilterExclusionFilterOutputWithContext(context.Context) SecurityMonitoringFilterExclusionFilterOutput +} + +type SecurityMonitoringFilterExclusionFilterArgs struct { + // Exclusion filter name. + Name pulumi.StringInput `pulumi:"name"` + // Exclusion filter query. Logs that match this query are excluded from the security filter. + Query pulumi.StringInput `pulumi:"query"` +} + +func (SecurityMonitoringFilterExclusionFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +} + +func (i SecurityMonitoringFilterExclusionFilterArgs) ToSecurityMonitoringFilterExclusionFilterOutput() SecurityMonitoringFilterExclusionFilterOutput { + return i.ToSecurityMonitoringFilterExclusionFilterOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringFilterExclusionFilterArgs) ToSecurityMonitoringFilterExclusionFilterOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringFilterExclusionFilterOutput) +} + +// SecurityMonitoringFilterExclusionFilterArrayInput is an input type that accepts SecurityMonitoringFilterExclusionFilterArray and SecurityMonitoringFilterExclusionFilterArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringFilterExclusionFilterArrayInput` via: +// +// SecurityMonitoringFilterExclusionFilterArray{ SecurityMonitoringFilterExclusionFilterArgs{...} } +type SecurityMonitoringFilterExclusionFilterArrayInput interface { + pulumi.Input + + ToSecurityMonitoringFilterExclusionFilterArrayOutput() SecurityMonitoringFilterExclusionFilterArrayOutput + ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(context.Context) SecurityMonitoringFilterExclusionFilterArrayOutput +} + +type SecurityMonitoringFilterExclusionFilterArray []SecurityMonitoringFilterExclusionFilterInput + +func (SecurityMonitoringFilterExclusionFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +} + +func (i SecurityMonitoringFilterExclusionFilterArray) ToSecurityMonitoringFilterExclusionFilterArrayOutput() SecurityMonitoringFilterExclusionFilterArrayOutput { + return i.ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringFilterExclusionFilterArray) ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringFilterExclusionFilterArrayOutput) +} + +type SecurityMonitoringFilterExclusionFilterOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringFilterExclusionFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +} + +func (o SecurityMonitoringFilterExclusionFilterOutput) ToSecurityMonitoringFilterExclusionFilterOutput() SecurityMonitoringFilterExclusionFilterOutput { + return o +} + +func (o SecurityMonitoringFilterExclusionFilterOutput) ToSecurityMonitoringFilterExclusionFilterOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterOutput { + return o +} + +// Exclusion filter name. +func (o SecurityMonitoringFilterExclusionFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringFilterExclusionFilter) string { return v.Name }).(pulumi.StringOutput) +} + +// Exclusion filter query. Logs that match this query are excluded from the security filter. +func (o SecurityMonitoringFilterExclusionFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringFilterExclusionFilter) string { return v.Query }).(pulumi.StringOutput) +} + +type SecurityMonitoringFilterExclusionFilterArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringFilterExclusionFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringFilterExclusionFilter)(nil)).Elem() +} + +func (o SecurityMonitoringFilterExclusionFilterArrayOutput) ToSecurityMonitoringFilterExclusionFilterArrayOutput() SecurityMonitoringFilterExclusionFilterArrayOutput { + return o +} + +func (o SecurityMonitoringFilterExclusionFilterArrayOutput) ToSecurityMonitoringFilterExclusionFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringFilterExclusionFilterArrayOutput { + return o +} + +func (o SecurityMonitoringFilterExclusionFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringFilterExclusionFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringFilterExclusionFilter { + return vs[0].([]SecurityMonitoringFilterExclusionFilter)[vs[1].(int)] + }).(SecurityMonitoringFilterExclusionFilterOutput) +} + +type SecurityMonitoringRuleCase struct { + // A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries. + Condition *string `pulumi:"condition"` + // Name of the case. + Name *string `pulumi:"name"` + // Notification targets for each rule case. + Notifications []string `pulumi:"notifications"` + // Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`. + Status string `pulumi:"status"` +} + +// SecurityMonitoringRuleCaseInput is an input type that accepts SecurityMonitoringRuleCaseArgs and SecurityMonitoringRuleCaseOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleCaseInput` via: +// +// SecurityMonitoringRuleCaseArgs{...} +type SecurityMonitoringRuleCaseInput interface { + pulumi.Input + + ToSecurityMonitoringRuleCaseOutput() SecurityMonitoringRuleCaseOutput + ToSecurityMonitoringRuleCaseOutputWithContext(context.Context) SecurityMonitoringRuleCaseOutput +} + +type SecurityMonitoringRuleCaseArgs struct { + // A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries. + Condition pulumi.StringPtrInput `pulumi:"condition"` + // Name of the case. + Name pulumi.StringPtrInput `pulumi:"name"` + // Notification targets for each rule case. + Notifications pulumi.StringArrayInput `pulumi:"notifications"` + // Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`. + Status pulumi.StringInput `pulumi:"status"` +} + +func (SecurityMonitoringRuleCaseArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleCase)(nil)).Elem() +} + +func (i SecurityMonitoringRuleCaseArgs) ToSecurityMonitoringRuleCaseOutput() SecurityMonitoringRuleCaseOutput { + return i.ToSecurityMonitoringRuleCaseOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleCaseArgs) ToSecurityMonitoringRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleCaseOutput) +} + +// SecurityMonitoringRuleCaseArrayInput is an input type that accepts SecurityMonitoringRuleCaseArray and SecurityMonitoringRuleCaseArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleCaseArrayInput` via: +// +// SecurityMonitoringRuleCaseArray{ SecurityMonitoringRuleCaseArgs{...} } +type SecurityMonitoringRuleCaseArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleCaseArrayOutput() SecurityMonitoringRuleCaseArrayOutput + ToSecurityMonitoringRuleCaseArrayOutputWithContext(context.Context) SecurityMonitoringRuleCaseArrayOutput +} + +type SecurityMonitoringRuleCaseArray []SecurityMonitoringRuleCaseInput + +func (SecurityMonitoringRuleCaseArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleCase)(nil)).Elem() +} + +func (i SecurityMonitoringRuleCaseArray) ToSecurityMonitoringRuleCaseArrayOutput() SecurityMonitoringRuleCaseArrayOutput { + return i.ToSecurityMonitoringRuleCaseArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleCaseArray) ToSecurityMonitoringRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleCaseArrayOutput) +} + +type SecurityMonitoringRuleCaseOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleCaseOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleCase)(nil)).Elem() +} + +func (o SecurityMonitoringRuleCaseOutput) ToSecurityMonitoringRuleCaseOutput() SecurityMonitoringRuleCaseOutput { + return o +} + +func (o SecurityMonitoringRuleCaseOutput) ToSecurityMonitoringRuleCaseOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseOutput { + return o +} + +// A rule case contains logical operations (`>`,`>=`, `&&`, `||`) to determine if a signal should be generated based on the event counts in the previously defined queries. +func (o SecurityMonitoringRuleCaseOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleCase) *string { return v.Condition }).(pulumi.StringPtrOutput) +} + +// Name of the case. +func (o SecurityMonitoringRuleCaseOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleCase) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Notification targets for each rule case. +func (o SecurityMonitoringRuleCaseOutput) Notifications() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleCase) []string { return v.Notifications }).(pulumi.StringArrayOutput) +} + +// Severity of the Security Signal. Valid values are `info`, `low`, `medium`, `high`, `critical`. +func (o SecurityMonitoringRuleCaseOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleCase) string { return v.Status }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleCaseArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleCaseArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleCase)(nil)).Elem() +} + +func (o SecurityMonitoringRuleCaseArrayOutput) ToSecurityMonitoringRuleCaseArrayOutput() SecurityMonitoringRuleCaseArrayOutput { + return o +} + +func (o SecurityMonitoringRuleCaseArrayOutput) ToSecurityMonitoringRuleCaseArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleCaseArrayOutput { + return o +} + +func (o SecurityMonitoringRuleCaseArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleCaseOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleCase { + return vs[0].([]SecurityMonitoringRuleCase)[vs[1].(int)] + }).(SecurityMonitoringRuleCaseOutput) +} + +type SecurityMonitoringRuleFilter struct { + // The type of filtering action. Valid values are `require`, `suppress`. + Action string `pulumi:"action"` + // Query for selecting logs to apply the filtering action. + Query string `pulumi:"query"` +} + +// SecurityMonitoringRuleFilterInput is an input type that accepts SecurityMonitoringRuleFilterArgs and SecurityMonitoringRuleFilterOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleFilterInput` via: +// +// SecurityMonitoringRuleFilterArgs{...} +type SecurityMonitoringRuleFilterInput interface { + pulumi.Input + + ToSecurityMonitoringRuleFilterOutput() SecurityMonitoringRuleFilterOutput + ToSecurityMonitoringRuleFilterOutputWithContext(context.Context) SecurityMonitoringRuleFilterOutput +} + +type SecurityMonitoringRuleFilterArgs struct { + // The type of filtering action. Valid values are `require`, `suppress`. + Action pulumi.StringInput `pulumi:"action"` + // Query for selecting logs to apply the filtering action. + Query pulumi.StringInput `pulumi:"query"` +} + +func (SecurityMonitoringRuleFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleFilter)(nil)).Elem() +} + +func (i SecurityMonitoringRuleFilterArgs) ToSecurityMonitoringRuleFilterOutput() SecurityMonitoringRuleFilterOutput { + return i.ToSecurityMonitoringRuleFilterOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleFilterArgs) ToSecurityMonitoringRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleFilterOutput) +} + +// SecurityMonitoringRuleFilterArrayInput is an input type that accepts SecurityMonitoringRuleFilterArray and SecurityMonitoringRuleFilterArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleFilterArrayInput` via: +// +// SecurityMonitoringRuleFilterArray{ SecurityMonitoringRuleFilterArgs{...} } +type SecurityMonitoringRuleFilterArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleFilterArrayOutput() SecurityMonitoringRuleFilterArrayOutput + ToSecurityMonitoringRuleFilterArrayOutputWithContext(context.Context) SecurityMonitoringRuleFilterArrayOutput +} + +type SecurityMonitoringRuleFilterArray []SecurityMonitoringRuleFilterInput + +func (SecurityMonitoringRuleFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleFilter)(nil)).Elem() +} + +func (i SecurityMonitoringRuleFilterArray) ToSecurityMonitoringRuleFilterArrayOutput() SecurityMonitoringRuleFilterArrayOutput { + return i.ToSecurityMonitoringRuleFilterArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleFilterArray) ToSecurityMonitoringRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleFilterArrayOutput) +} + +type SecurityMonitoringRuleFilterOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleFilter)(nil)).Elem() +} + +func (o SecurityMonitoringRuleFilterOutput) ToSecurityMonitoringRuleFilterOutput() SecurityMonitoringRuleFilterOutput { + return o +} + +func (o SecurityMonitoringRuleFilterOutput) ToSecurityMonitoringRuleFilterOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterOutput { + return o +} + +// The type of filtering action. Valid values are `require`, `suppress`. +func (o SecurityMonitoringRuleFilterOutput) Action() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleFilter) string { return v.Action }).(pulumi.StringOutput) +} + +// Query for selecting logs to apply the filtering action. +func (o SecurityMonitoringRuleFilterOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleFilter) string { return v.Query }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleFilterArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleFilter)(nil)).Elem() +} + +func (o SecurityMonitoringRuleFilterArrayOutput) ToSecurityMonitoringRuleFilterArrayOutput() SecurityMonitoringRuleFilterArrayOutput { + return o +} + +func (o SecurityMonitoringRuleFilterArrayOutput) ToSecurityMonitoringRuleFilterArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleFilterArrayOutput { + return o +} + +func (o SecurityMonitoringRuleFilterArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleFilter { + return vs[0].([]SecurityMonitoringRuleFilter)[vs[1].(int)] + }).(SecurityMonitoringRuleFilterOutput) +} + +type SecurityMonitoringRuleOptions struct { + // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. + DecreaseCriticalityBasedOnEnv *bool `pulumi:"decreaseCriticalityBasedOnEnv"` + // The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. + DetectionMethod *string `pulumi:"detectionMethod"` + // A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. + EvaluationWindow *int `pulumi:"evaluationWindow"` + // Options for rules using the impossible travel detection method. + ImpossibleTravelOptions *SecurityMonitoringRuleOptionsImpossibleTravelOptions `pulumi:"impossibleTravelOptions"` + // Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. + KeepAlive *int `pulumi:"keepAlive"` + // A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. + MaxSignalDuration *int `pulumi:"maxSignalDuration"` + // New value rules specific options. + NewValueOptions *SecurityMonitoringRuleOptionsNewValueOptions `pulumi:"newValueOptions"` + // Options for rules using the third-party detection method. + ThirdPartyRuleOptions *SecurityMonitoringRuleOptionsThirdPartyRuleOptions `pulumi:"thirdPartyRuleOptions"` +} + +// SecurityMonitoringRuleOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsArgs and SecurityMonitoringRuleOptionsOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsInput` via: +// +// SecurityMonitoringRuleOptionsArgs{...} +type SecurityMonitoringRuleOptionsInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsOutput() SecurityMonitoringRuleOptionsOutput + ToSecurityMonitoringRuleOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsOutput +} + +type SecurityMonitoringRuleOptionsArgs struct { + // If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. + DecreaseCriticalityBasedOnEnv pulumi.BoolPtrInput `pulumi:"decreaseCriticalityBasedOnEnv"` + // The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. + DetectionMethod pulumi.StringPtrInput `pulumi:"detectionMethod"` + // A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. + EvaluationWindow pulumi.IntPtrInput `pulumi:"evaluationWindow"` + // Options for rules using the impossible travel detection method. + ImpossibleTravelOptions SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput `pulumi:"impossibleTravelOptions"` + // Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. + KeepAlive pulumi.IntPtrInput `pulumi:"keepAlive"` + // A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. + MaxSignalDuration pulumi.IntPtrInput `pulumi:"maxSignalDuration"` + // New value rules specific options. + NewValueOptions SecurityMonitoringRuleOptionsNewValueOptionsPtrInput `pulumi:"newValueOptions"` + // Options for rules using the third-party detection method. + ThirdPartyRuleOptions SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput `pulumi:"thirdPartyRuleOptions"` +} + +func (SecurityMonitoringRuleOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptions)(nil)).Elem() +} + +func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsOutput() SecurityMonitoringRuleOptionsOutput { + return i.ToSecurityMonitoringRuleOptionsOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsOutput) +} + +func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsArgs) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsOutput).ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx) +} + +// SecurityMonitoringRuleOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsArgs, SecurityMonitoringRuleOptionsPtr and SecurityMonitoringRuleOptionsPtrOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsPtrInput` via: +// +// SecurityMonitoringRuleOptionsArgs{...} +// +// or: +// +// nil +type SecurityMonitoringRuleOptionsPtrInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput + ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsPtrOutput +} + +type securityMonitoringRuleOptionsPtrType SecurityMonitoringRuleOptionsArgs + +func SecurityMonitoringRuleOptionsPtr(v *SecurityMonitoringRuleOptionsArgs) SecurityMonitoringRuleOptionsPtrInput { + return (*securityMonitoringRuleOptionsPtrType)(v) +} + +func (*securityMonitoringRuleOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptions)(nil)).Elem() +} + +func (i *securityMonitoringRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (i *securityMonitoringRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsPtrOutput) +} + +type SecurityMonitoringRuleOptionsOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsOutput() SecurityMonitoringRuleOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { + return o.ToSecurityMonitoringRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (o SecurityMonitoringRuleOptionsOutput) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptions { + return &v + }).(SecurityMonitoringRuleOptionsPtrOutput) +} + +// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. +func (o SecurityMonitoringRuleOptionsOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *bool { return v.DecreaseCriticalityBasedOnEnv }).(pulumi.BoolPtrOutput) +} + +// The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. +func (o SecurityMonitoringRuleOptionsOutput) DetectionMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *string { return v.DetectionMethod }).(pulumi.StringPtrOutput) +} + +// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. +func (o SecurityMonitoringRuleOptionsOutput) EvaluationWindow() pulumi.IntPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *int { return v.EvaluationWindow }).(pulumi.IntPtrOutput) +} + +// Options for rules using the impossible travel detection method. +func (o SecurityMonitoringRuleOptionsOutput) ImpossibleTravelOptions() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsImpossibleTravelOptions { + return v.ImpossibleTravelOptions + }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) +} + +// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. +func (o SecurityMonitoringRuleOptionsOutput) KeepAlive() pulumi.IntPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *int { return v.KeepAlive }).(pulumi.IntPtrOutput) +} + +// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. +func (o SecurityMonitoringRuleOptionsOutput) MaxSignalDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *int { return v.MaxSignalDuration }).(pulumi.IntPtrOutput) +} + +// New value rules specific options. +func (o SecurityMonitoringRuleOptionsOutput) NewValueOptions() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsNewValueOptions { + return v.NewValueOptions + }).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) +} + +// Options for rules using the third-party detection method. +func (o SecurityMonitoringRuleOptionsOutput) ThirdPartyRuleOptions() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsThirdPartyRuleOptions { + return v.ThirdPartyRuleOptions + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) +} + +type SecurityMonitoringRuleOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) SecurityMonitoringRuleOptions { + if v != nil { + return *v + } + var ret SecurityMonitoringRuleOptions + return ret + }).(SecurityMonitoringRuleOptionsOutput) +} + +// If true, signals in non-production environments have a lower severity than what is defined by the rule case, which can reduce noise. The decrement is applied when the environment tag of the signal starts with `staging`, `test`, or `dev`. Only available when the rule type is `logDetection`. Defaults to `false`. +func (o SecurityMonitoringRuleOptionsPtrOutput) DecreaseCriticalityBasedOnEnv() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *bool { + if v == nil { + return nil + } + return v.DecreaseCriticalityBasedOnEnv + }).(pulumi.BoolPtrOutput) +} + +// The detection method. Valid values are `threshold`, `newValue`, `anomalyDetection`, `impossibleTravel`, `hardcoded`, `thirdParty`, `anomalyThreshold`. Defaults to `"threshold"`. +func (o SecurityMonitoringRuleOptionsPtrOutput) DetectionMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *string { + if v == nil { + return nil + } + return v.DetectionMethod + }).(pulumi.StringPtrOutput) +} + +// A time window is specified to match when at least one of the cases matches true. This is a sliding window and evaluates in real time. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`. +func (o SecurityMonitoringRuleOptionsPtrOutput) EvaluationWindow() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *int { + if v == nil { + return nil + } + return v.EvaluationWindow + }).(pulumi.IntPtrOutput) +} + +// Options for rules using the impossible travel detection method. +func (o SecurityMonitoringRuleOptionsPtrOutput) ImpossibleTravelOptions() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsImpossibleTravelOptions { + if v == nil { + return nil + } + return v.ImpossibleTravelOptions + }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) +} + +// Once a signal is generated, the signal will remain “open” if a case is matched at least once within this keep alive window (in seconds). Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`. +func (o SecurityMonitoringRuleOptionsPtrOutput) KeepAlive() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *int { + if v == nil { + return nil + } + return v.KeepAlive + }).(pulumi.IntPtrOutput) +} + +// A signal will “close” regardless of the query being matched once the time exceeds the maximum duration (in seconds). This time is calculated from the first seen timestamp. Valid values are `0`, `60`, `300`, `600`, `900`, `1800`, `3600`, `7200`, `10800`, `21600`, `43200`, `86400`. +func (o SecurityMonitoringRuleOptionsPtrOutput) MaxSignalDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *int { + if v == nil { + return nil + } + return v.MaxSignalDuration + }).(pulumi.IntPtrOutput) +} + +// New value rules specific options. +func (o SecurityMonitoringRuleOptionsPtrOutput) NewValueOptions() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsNewValueOptions { + if v == nil { + return nil + } + return v.NewValueOptions + }).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) +} + +// Options for rules using the third-party detection method. +func (o SecurityMonitoringRuleOptionsPtrOutput) ThirdPartyRuleOptions() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptions) *SecurityMonitoringRuleOptionsThirdPartyRuleOptions { + if v == nil { + return nil + } + return v.ThirdPartyRuleOptions + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) +} + +type SecurityMonitoringRuleOptionsImpossibleTravelOptions struct { + // If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. + BaselineUserLocations *bool `pulumi:"baselineUserLocations"` +} + +// SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs and SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput` via: +// +// SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{...} +type SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput + ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput +} + +type SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs struct { + // If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. + BaselineUserLocations pulumi.BoolPtrInput `pulumi:"baselineUserLocations"` +} + +func (SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +} + +func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { + return i.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) +} + +func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput).ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx) +} + +// SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs, SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtr and SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput` via: +// +// SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{...} +// +// or: +// +// nil +type SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput + ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput +} + +type securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs + +func SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtr(v *SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput { + return (*securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType)(v) +} + +func (*securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +} + +func (i *securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Background()) +} + +func (i *securityMonitoringRuleOptionsImpossibleTravelOptionsPtrType) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) +} + +type SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return o.ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(context.Background()) +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptionsImpossibleTravelOptions) *SecurityMonitoringRuleOptionsImpossibleTravelOptions { + return &v + }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) +} + +// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) BaselineUserLocations() pulumi.BoolPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsImpossibleTravelOptions) *bool { return v.BaselineUserLocations }).(pulumi.BoolPtrOutput) +} + +type SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptionsImpossibleTravelOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput() SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) ToSecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsImpossibleTravelOptions) SecurityMonitoringRuleOptionsImpossibleTravelOptions { + if v != nil { + return *v + } + var ret SecurityMonitoringRuleOptionsImpossibleTravelOptions + return ret + }).(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput) +} + +// If true, signals are suppressed for the first 24 hours. During that time, Datadog learns the user's regular access locations. This can be helpful to reduce noise and infer VPN usage or credentialed API access. Defaults to `false`. +func (o SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput) BaselineUserLocations() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsImpossibleTravelOptions) *bool { + if v == nil { + return nil + } + return v.BaselineUserLocations + }).(pulumi.BoolPtrOutput) +} + +type SecurityMonitoringRuleOptionsNewValueOptions struct { + // The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. + ForgetAfter int `pulumi:"forgetAfter"` + // The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. + LearningDuration *int `pulumi:"learningDuration"` + // The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. + LearningMethod *string `pulumi:"learningMethod"` + // A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. + LearningThreshold *int `pulumi:"learningThreshold"` +} + +// SecurityMonitoringRuleOptionsNewValueOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsNewValueOptionsArgs and SecurityMonitoringRuleOptionsNewValueOptionsOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsNewValueOptionsInput` via: +// +// SecurityMonitoringRuleOptionsNewValueOptionsArgs{...} +type SecurityMonitoringRuleOptionsNewValueOptionsInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsNewValueOptionsOutput() SecurityMonitoringRuleOptionsNewValueOptionsOutput + ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsNewValueOptionsOutput +} + +type SecurityMonitoringRuleOptionsNewValueOptionsArgs struct { + // The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. + ForgetAfter pulumi.IntInput `pulumi:"forgetAfter"` + // The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. + LearningDuration pulumi.IntPtrInput `pulumi:"learningDuration"` + // The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. + LearningMethod pulumi.StringPtrInput `pulumi:"learningMethod"` + // A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. + LearningThreshold pulumi.IntPtrInput `pulumi:"learningThreshold"` +} + +func (SecurityMonitoringRuleOptionsNewValueOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +} + +func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsOutput() SecurityMonitoringRuleOptionsNewValueOptionsOutput { + return i.ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsNewValueOptionsOutput) +} + +func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsNewValueOptionsArgs) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsNewValueOptionsOutput).ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx) +} + +// SecurityMonitoringRuleOptionsNewValueOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsNewValueOptionsArgs, SecurityMonitoringRuleOptionsNewValueOptionsPtr and SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsNewValueOptionsPtrInput` via: +// +// SecurityMonitoringRuleOptionsNewValueOptionsArgs{...} +// +// or: +// +// nil +type SecurityMonitoringRuleOptionsNewValueOptionsPtrInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput + ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput +} + +type securityMonitoringRuleOptionsNewValueOptionsPtrType SecurityMonitoringRuleOptionsNewValueOptionsArgs + +func SecurityMonitoringRuleOptionsNewValueOptionsPtr(v *SecurityMonitoringRuleOptionsNewValueOptionsArgs) SecurityMonitoringRuleOptionsNewValueOptionsPtrInput { + return (*securityMonitoringRuleOptionsNewValueOptionsPtrType)(v) +} + +func (*securityMonitoringRuleOptionsNewValueOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +} + +func (i *securityMonitoringRuleOptionsNewValueOptionsPtrType) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Background()) +} + +func (i *securityMonitoringRuleOptionsNewValueOptionsPtrType) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) +} + +type SecurityMonitoringRuleOptionsNewValueOptionsOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsNewValueOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsOutput() SecurityMonitoringRuleOptionsNewValueOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return o.ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(context.Background()) +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptionsNewValueOptions) *SecurityMonitoringRuleOptionsNewValueOptions { + return &v + }).(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) +} + +// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) ForgetAfter() pulumi.IntOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) int { return v.ForgetAfter }).(pulumi.IntOutput) +} + +// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) LearningDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) *int { return v.LearningDuration }).(pulumi.IntPtrOutput) +} + +// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) LearningMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) *string { return v.LearningMethod }).(pulumi.StringPtrOutput) +} + +// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsOutput) LearningThreshold() pulumi.IntPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsNewValueOptions) *int { return v.LearningThreshold }).(pulumi.IntPtrOutput) +} + +type SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptionsNewValueOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutput() SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ToSecurityMonitoringRuleOptionsNewValueOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsNewValueOptionsOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) SecurityMonitoringRuleOptionsNewValueOptions { + if v != nil { + return *v + } + var ret SecurityMonitoringRuleOptionsNewValueOptions + return ret + }).(SecurityMonitoringRuleOptionsNewValueOptionsOutput) +} + +// The duration in days after which a learned value is forgotten. Valid values are `1`, `2`, `7`, `14`, `21`, `28`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) ForgetAfter() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *int { + if v == nil { + return nil + } + return &v.ForgetAfter + }).(pulumi.IntPtrOutput) +} + +// The duration in days during which values are learned, and after which signals will be generated for values that weren't learned. If set to 0, a signal will be generated for all new values after the first value is learned. Valid values are `0`, `1`, `7`. Defaults to `1`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) LearningDuration() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *int { + if v == nil { + return nil + } + return v.LearningDuration + }).(pulumi.IntPtrOutput) +} + +// The learning method used to determine when signals should be generated for values that weren't learned. Valid values are `duration`, `threshold`. Defaults to `"duration"`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) LearningMethod() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *string { + if v == nil { + return nil + } + return v.LearningMethod + }).(pulumi.StringPtrOutput) +} + +// A number of occurrences after which signals are generated for values that weren't learned. Valid values are `0`, `1`. Defaults to `0`. +func (o SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput) LearningThreshold() pulumi.IntPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsNewValueOptions) *int { + if v == nil { + return nil + } + return v.LearningThreshold + }).(pulumi.IntPtrOutput) +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptions struct { + // Notification targets for the default rule case, when none of the third-party cases match. + DefaultNotifications []string `pulumi:"defaultNotifications"` + // Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. + DefaultStatus string `pulumi:"defaultStatus"` + // Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. + RootQueries []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery `pulumi:"rootQueries"` + // A template for the signal title; if omitted, the title is generated based on the case name. + SignalTitleTemplate *string `pulumi:"signalTitleTemplate"` +} + +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput` via: +// +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{...} +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs struct { + // Notification targets for the default rule case, when none of the third-party cases match. + DefaultNotifications pulumi.StringArrayInput `pulumi:"defaultNotifications"` + // Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. + DefaultStatus pulumi.StringInput `pulumi:"defaultStatus"` + // Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. + RootQueries SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput `pulumi:"rootQueries"` + // A template for the signal title; if omitted, the title is generated based on the case name. + SignalTitleTemplate pulumi.StringPtrInput `pulumi:"signalTitleTemplate"` +} + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { + return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput).ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx) +} + +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs, SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtr and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput` via: +// +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{...} +// +// or: +// +// nil +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput +} + +type securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs + +func SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtr(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput { + return (*securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType)(v) +} + +func (*securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +} + +func (i *securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (i *securityMonitoringRuleOptionsThirdPartyRuleOptionsPtrType) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return o.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(context.Background()) +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *SecurityMonitoringRuleOptionsThirdPartyRuleOptions { + return &v + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) +} + +// Notification targets for the default rule case, when none of the third-party cases match. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) DefaultNotifications() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []string { return v.DefaultNotifications }).(pulumi.StringArrayOutput) +} + +// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) DefaultStatus() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) string { return v.DefaultStatus }).(pulumi.StringOutput) +} + +// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) RootQueries() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery { + return v.RootQueries + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) +} + +// A template for the signal title; if omitted, the title is generated based on the case name. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) SignalTitleTemplate() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *string { return v.SignalTitleTemplate }).(pulumi.StringPtrOutput) +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityMonitoringRuleOptionsThirdPartyRuleOptions)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) Elem() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) SecurityMonitoringRuleOptionsThirdPartyRuleOptions { + if v != nil { + return *v + } + var ret SecurityMonitoringRuleOptionsThirdPartyRuleOptions + return ret + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput) +} + +// Notification targets for the default rule case, when none of the third-party cases match. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) DefaultNotifications() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []string { + if v == nil { + return nil + } + return v.DefaultNotifications + }).(pulumi.StringArrayOutput) +} + +// Severity of the default rule case, when none of the third-party cases match. Valid values are `info`, `low`, `medium`, `high`, `critical`. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) DefaultStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *string { + if v == nil { + return nil + } + return &v.DefaultStatus + }).(pulumi.StringPtrOutput) +} + +// Queries to be combined with third-party case queries. Each of them can have different group by fields, to aggregate differently based on the type of alert. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) RootQueries() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery { + if v == nil { + return nil + } + return v.RootQueries + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) +} + +// A template for the signal title; if omitted, the title is generated based on the case name. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput) SignalTitleTemplate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityMonitoringRuleOptionsThirdPartyRuleOptions) *string { + if v == nil { + return nil + } + return v.SignalTitleTemplate + }).(pulumi.StringPtrOutput) +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery struct { + // Fields to group by. If empty, each log triggers a signal. + GroupByFields []string `pulumi:"groupByFields"` + // Query to filter logs. + Query string `pulumi:"query"` +} + +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput` via: +// +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs{...} +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs struct { + // Fields to group by. If empty, each log triggers a signal. + GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"` + // Query to filter logs. + Query pulumi.StringInput `pulumi:"query"` +} + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { + return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) +} + +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput is an input type that accepts SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray and SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput` via: +// +// SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray{ SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs{...} } +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput + ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray []SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { + return i.ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { + return o +} + +// Fields to group by. If empty, each log triggers a signal. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) GroupByFields() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery) []string { return v.GroupByFields }).(pulumi.StringArrayOutput) +} + +// Query to filter logs. +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)(nil)).Elem() +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput() SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) ToSecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput { + return o +} + +func (o SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery { + return vs[0].([]SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQuery)[vs[1].(int)] + }).(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput) +} + +type SecurityMonitoringRuleQuery struct { + // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. + // + // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. + AgentRules []SecurityMonitoringRuleQueryAgentRule `pulumi:"agentRules"` + // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. + Aggregation *string `pulumi:"aggregation"` + // Field for which the cardinality is measured. Sent as an array. + DistinctFields []string `pulumi:"distinctFields"` + // Fields to group by. + GroupByFields []string `pulumi:"groupByFields"` + // The target field to aggregate over when using the `sum`, `max`, or `geoData` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider. + // + // Deprecated: Configure `metrics` instead. This attribute will be removed in the next major version of the provider. + Metric *string `pulumi:"metric"` + // Group of target fields to aggregate over when using the `sum`, `max`, `geoData`, or `newValue` aggregations. The `sum`, `max`, and `geoData` aggregations only accept one value in this list, whereas the `newValue` aggregation accepts up to five values. + Metrics []string `pulumi:"metrics"` + // Name of the query. Not compatible with `newValue` aggregations. + Name *string `pulumi:"name"` + // Query to run on logs. + Query string `pulumi:"query"` +} + +// SecurityMonitoringRuleQueryInput is an input type that accepts SecurityMonitoringRuleQueryArgs and SecurityMonitoringRuleQueryOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleQueryInput` via: +// +// SecurityMonitoringRuleQueryArgs{...} +type SecurityMonitoringRuleQueryInput interface { + pulumi.Input + + ToSecurityMonitoringRuleQueryOutput() SecurityMonitoringRuleQueryOutput + ToSecurityMonitoringRuleQueryOutputWithContext(context.Context) SecurityMonitoringRuleQueryOutput +} + +type SecurityMonitoringRuleQueryArgs struct { + // **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. + // + // Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. + AgentRules SecurityMonitoringRuleQueryAgentRuleArrayInput `pulumi:"agentRules"` + // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. + Aggregation pulumi.StringPtrInput `pulumi:"aggregation"` + // Field for which the cardinality is measured. Sent as an array. + DistinctFields pulumi.StringArrayInput `pulumi:"distinctFields"` + // Fields to group by. + GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"` + // The target field to aggregate over when using the `sum`, `max`, or `geoData` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider. + // + // Deprecated: Configure `metrics` instead. This attribute will be removed in the next major version of the provider. + Metric pulumi.StringPtrInput `pulumi:"metric"` + // Group of target fields to aggregate over when using the `sum`, `max`, `geoData`, or `newValue` aggregations. The `sum`, `max`, and `geoData` aggregations only accept one value in this list, whereas the `newValue` aggregation accepts up to five values. + Metrics pulumi.StringArrayInput `pulumi:"metrics"` + // Name of the query. Not compatible with `newValue` aggregations. + Name pulumi.StringPtrInput `pulumi:"name"` + // Query to run on logs. + Query pulumi.StringInput `pulumi:"query"` +} + +func (SecurityMonitoringRuleQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleQuery)(nil)).Elem() +} + +func (i SecurityMonitoringRuleQueryArgs) ToSecurityMonitoringRuleQueryOutput() SecurityMonitoringRuleQueryOutput { + return i.ToSecurityMonitoringRuleQueryOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleQueryArgs) ToSecurityMonitoringRuleQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryOutput) +} + +// SecurityMonitoringRuleQueryArrayInput is an input type that accepts SecurityMonitoringRuleQueryArray and SecurityMonitoringRuleQueryArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleQueryArrayInput` via: +// +// SecurityMonitoringRuleQueryArray{ SecurityMonitoringRuleQueryArgs{...} } +type SecurityMonitoringRuleQueryArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleQueryArrayOutput() SecurityMonitoringRuleQueryArrayOutput + ToSecurityMonitoringRuleQueryArrayOutputWithContext(context.Context) SecurityMonitoringRuleQueryArrayOutput +} + +type SecurityMonitoringRuleQueryArray []SecurityMonitoringRuleQueryInput + +func (SecurityMonitoringRuleQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleQuery)(nil)).Elem() +} + +func (i SecurityMonitoringRuleQueryArray) ToSecurityMonitoringRuleQueryArrayOutput() SecurityMonitoringRuleQueryArrayOutput { + return i.ToSecurityMonitoringRuleQueryArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleQueryArray) ToSecurityMonitoringRuleQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryArrayOutput) +} + +type SecurityMonitoringRuleQueryOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleQuery)(nil)).Elem() +} + +func (o SecurityMonitoringRuleQueryOutput) ToSecurityMonitoringRuleQueryOutput() SecurityMonitoringRuleQueryOutput { + return o +} + +func (o SecurityMonitoringRuleQueryOutput) ToSecurityMonitoringRuleQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryOutput { + return o +} + +// **Deprecated**. It won't be applied anymore. **Deprecated.** `agentRule` has been deprecated in favor of new Agent Rule resource. +// +// Deprecated: `agentRule` has been deprecated in favor of new Agent Rule resource. +func (o SecurityMonitoringRuleQueryOutput) AgentRules() SecurityMonitoringRuleQueryAgentRuleArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) []SecurityMonitoringRuleQueryAgentRule { return v.AgentRules }).(SecurityMonitoringRuleQueryAgentRuleArrayOutput) +} + +// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"count"`. +func (o SecurityMonitoringRuleQueryOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) *string { return v.Aggregation }).(pulumi.StringPtrOutput) +} + +// Field for which the cardinality is measured. Sent as an array. +func (o SecurityMonitoringRuleQueryOutput) DistinctFields() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) []string { return v.DistinctFields }).(pulumi.StringArrayOutput) +} + +// Fields to group by. +func (o SecurityMonitoringRuleQueryOutput) GroupByFields() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) []string { return v.GroupByFields }).(pulumi.StringArrayOutput) +} + +// The target field to aggregate over when using the `sum`, `max`, or `geoData` aggregations. **Deprecated.** Configure `metrics` instead. This attribute will be removed in the next major version of the provider. +// +// Deprecated: Configure `metrics` instead. This attribute will be removed in the next major version of the provider. +func (o SecurityMonitoringRuleQueryOutput) Metric() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) *string { return v.Metric }).(pulumi.StringPtrOutput) +} + +// Group of target fields to aggregate over when using the `sum`, `max`, `geoData`, or `newValue` aggregations. The `sum`, `max`, and `geoData` aggregations only accept one value in this list, whereas the `newValue` aggregation accepts up to five values. +func (o SecurityMonitoringRuleQueryOutput) Metrics() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) []string { return v.Metrics }).(pulumi.StringArrayOutput) +} + +// Name of the query. Not compatible with `newValue` aggregations. +func (o SecurityMonitoringRuleQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Query to run on logs. +func (o SecurityMonitoringRuleQueryOutput) Query() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQuery) string { return v.Query }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleQueryArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleQuery)(nil)).Elem() +} + +func (o SecurityMonitoringRuleQueryArrayOutput) ToSecurityMonitoringRuleQueryArrayOutput() SecurityMonitoringRuleQueryArrayOutput { + return o +} + +func (o SecurityMonitoringRuleQueryArrayOutput) ToSecurityMonitoringRuleQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryArrayOutput { + return o +} + +func (o SecurityMonitoringRuleQueryArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleQuery { + return vs[0].([]SecurityMonitoringRuleQuery)[vs[1].(int)] + }).(SecurityMonitoringRuleQueryOutput) +} + +type SecurityMonitoringRuleQueryAgentRule struct { + // **Deprecated**. It won't be applied anymore. + AgentRuleId string `pulumi:"agentRuleId"` + // **Deprecated**. It won't be applied anymore. + Expression string `pulumi:"expression"` +} + +// SecurityMonitoringRuleQueryAgentRuleInput is an input type that accepts SecurityMonitoringRuleQueryAgentRuleArgs and SecurityMonitoringRuleQueryAgentRuleOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleQueryAgentRuleInput` via: +// +// SecurityMonitoringRuleQueryAgentRuleArgs{...} +type SecurityMonitoringRuleQueryAgentRuleInput interface { + pulumi.Input + + ToSecurityMonitoringRuleQueryAgentRuleOutput() SecurityMonitoringRuleQueryAgentRuleOutput + ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(context.Context) SecurityMonitoringRuleQueryAgentRuleOutput +} + +type SecurityMonitoringRuleQueryAgentRuleArgs struct { + // **Deprecated**. It won't be applied anymore. + AgentRuleId pulumi.StringInput `pulumi:"agentRuleId"` + // **Deprecated**. It won't be applied anymore. + Expression pulumi.StringInput `pulumi:"expression"` +} + +func (SecurityMonitoringRuleQueryAgentRuleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +} + +func (i SecurityMonitoringRuleQueryAgentRuleArgs) ToSecurityMonitoringRuleQueryAgentRuleOutput() SecurityMonitoringRuleQueryAgentRuleOutput { + return i.ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleQueryAgentRuleArgs) ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryAgentRuleOutput) +} + +// SecurityMonitoringRuleQueryAgentRuleArrayInput is an input type that accepts SecurityMonitoringRuleQueryAgentRuleArray and SecurityMonitoringRuleQueryAgentRuleArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleQueryAgentRuleArrayInput` via: +// +// SecurityMonitoringRuleQueryAgentRuleArray{ SecurityMonitoringRuleQueryAgentRuleArgs{...} } +type SecurityMonitoringRuleQueryAgentRuleArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleQueryAgentRuleArrayOutput() SecurityMonitoringRuleQueryAgentRuleArrayOutput + ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(context.Context) SecurityMonitoringRuleQueryAgentRuleArrayOutput +} + +type SecurityMonitoringRuleQueryAgentRuleArray []SecurityMonitoringRuleQueryAgentRuleInput + +func (SecurityMonitoringRuleQueryAgentRuleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +} + +func (i SecurityMonitoringRuleQueryAgentRuleArray) ToSecurityMonitoringRuleQueryAgentRuleArrayOutput() SecurityMonitoringRuleQueryAgentRuleArrayOutput { + return i.ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleQueryAgentRuleArray) ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleQueryAgentRuleArrayOutput) +} + +type SecurityMonitoringRuleQueryAgentRuleOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleQueryAgentRuleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +} + +func (o SecurityMonitoringRuleQueryAgentRuleOutput) ToSecurityMonitoringRuleQueryAgentRuleOutput() SecurityMonitoringRuleQueryAgentRuleOutput { + return o +} + +func (o SecurityMonitoringRuleQueryAgentRuleOutput) ToSecurityMonitoringRuleQueryAgentRuleOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleOutput { + return o +} + +// **Deprecated**. It won't be applied anymore. +func (o SecurityMonitoringRuleQueryAgentRuleOutput) AgentRuleId() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQueryAgentRule) string { return v.AgentRuleId }).(pulumi.StringOutput) +} + +// **Deprecated**. It won't be applied anymore. +func (o SecurityMonitoringRuleQueryAgentRuleOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleQueryAgentRule) string { return v.Expression }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleQueryAgentRuleArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleQueryAgentRuleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleQueryAgentRule)(nil)).Elem() +} + +func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) ToSecurityMonitoringRuleQueryAgentRuleArrayOutput() SecurityMonitoringRuleQueryAgentRuleArrayOutput { + return o +} + +func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) ToSecurityMonitoringRuleQueryAgentRuleArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleQueryAgentRuleArrayOutput { + return o +} + +func (o SecurityMonitoringRuleQueryAgentRuleArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleQueryAgentRuleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleQueryAgentRule { + return vs[0].([]SecurityMonitoringRuleQueryAgentRule)[vs[1].(int)] + }).(SecurityMonitoringRuleQueryAgentRuleOutput) +} + +type SecurityMonitoringRuleSignalQuery struct { + // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. + Aggregation *string `pulumi:"aggregation"` + // Fields to correlate by. + CorrelatedByFields []string `pulumi:"correlatedByFields"` + // Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`. + CorrelatedQueryIndex *string `pulumi:"correlatedQueryIndex"` + // Default Rule ID of the signal to correlate. This value is READ-ONLY. + DefaultRuleId *string `pulumi:"defaultRuleId"` + // Name of the query. Not compatible with `newValue` aggregations. + Name *string `pulumi:"name"` + // Rule ID of the signal to correlate. + RuleId string `pulumi:"ruleId"` +} + +// SecurityMonitoringRuleSignalQueryInput is an input type that accepts SecurityMonitoringRuleSignalQueryArgs and SecurityMonitoringRuleSignalQueryOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleSignalQueryInput` via: +// +// SecurityMonitoringRuleSignalQueryArgs{...} +type SecurityMonitoringRuleSignalQueryInput interface { + pulumi.Input + + ToSecurityMonitoringRuleSignalQueryOutput() SecurityMonitoringRuleSignalQueryOutput + ToSecurityMonitoringRuleSignalQueryOutputWithContext(context.Context) SecurityMonitoringRuleSignalQueryOutput +} + +type SecurityMonitoringRuleSignalQueryArgs struct { + // The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. + Aggregation pulumi.StringPtrInput `pulumi:"aggregation"` + // Fields to correlate by. + CorrelatedByFields pulumi.StringArrayInput `pulumi:"correlatedByFields"` + // Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`. + CorrelatedQueryIndex pulumi.StringPtrInput `pulumi:"correlatedQueryIndex"` + // Default Rule ID of the signal to correlate. This value is READ-ONLY. + DefaultRuleId pulumi.StringPtrInput `pulumi:"defaultRuleId"` + // Name of the query. Not compatible with `newValue` aggregations. + Name pulumi.StringPtrInput `pulumi:"name"` + // Rule ID of the signal to correlate. + RuleId pulumi.StringInput `pulumi:"ruleId"` +} + +func (SecurityMonitoringRuleSignalQueryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleSignalQuery)(nil)).Elem() +} + +func (i SecurityMonitoringRuleSignalQueryArgs) ToSecurityMonitoringRuleSignalQueryOutput() SecurityMonitoringRuleSignalQueryOutput { + return i.ToSecurityMonitoringRuleSignalQueryOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleSignalQueryArgs) ToSecurityMonitoringRuleSignalQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleSignalQueryOutput) +} + +// SecurityMonitoringRuleSignalQueryArrayInput is an input type that accepts SecurityMonitoringRuleSignalQueryArray and SecurityMonitoringRuleSignalQueryArrayOutput values. +// You can construct a concrete instance of `SecurityMonitoringRuleSignalQueryArrayInput` via: +// +// SecurityMonitoringRuleSignalQueryArray{ SecurityMonitoringRuleSignalQueryArgs{...} } +type SecurityMonitoringRuleSignalQueryArrayInput interface { + pulumi.Input + + ToSecurityMonitoringRuleSignalQueryArrayOutput() SecurityMonitoringRuleSignalQueryArrayOutput + ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(context.Context) SecurityMonitoringRuleSignalQueryArrayOutput +} + +type SecurityMonitoringRuleSignalQueryArray []SecurityMonitoringRuleSignalQueryInput + +func (SecurityMonitoringRuleSignalQueryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleSignalQuery)(nil)).Elem() +} + +func (i SecurityMonitoringRuleSignalQueryArray) ToSecurityMonitoringRuleSignalQueryArrayOutput() SecurityMonitoringRuleSignalQueryArrayOutput { + return i.ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(context.Background()) +} + +func (i SecurityMonitoringRuleSignalQueryArray) ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityMonitoringRuleSignalQueryArrayOutput) +} + +type SecurityMonitoringRuleSignalQueryOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleSignalQueryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityMonitoringRuleSignalQuery)(nil)).Elem() +} + +func (o SecurityMonitoringRuleSignalQueryOutput) ToSecurityMonitoringRuleSignalQueryOutput() SecurityMonitoringRuleSignalQueryOutput { + return o +} + +func (o SecurityMonitoringRuleSignalQueryOutput) ToSecurityMonitoringRuleSignalQueryOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryOutput { + return o +} + +// The aggregation type. For Signal Correlation rules, it must be event_count. Valid values are `count`, `cardinality`, `sum`, `max`, `newValue`, `geoData`, `eventCount`, `none`. Defaults to `"eventCount"`. +func (o SecurityMonitoringRuleSignalQueryOutput) Aggregation() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.Aggregation }).(pulumi.StringPtrOutput) +} + +// Fields to correlate by. +func (o SecurityMonitoringRuleSignalQueryOutput) CorrelatedByFields() pulumi.StringArrayOutput { + return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) []string { return v.CorrelatedByFields }).(pulumi.StringArrayOutput) +} + +// Index of the rule query used to retrieve the correlated field. An empty string applies correlation on the non-projected per query attributes of the rule. Defaults to `""`. +func (o SecurityMonitoringRuleSignalQueryOutput) CorrelatedQueryIndex() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.CorrelatedQueryIndex }).(pulumi.StringPtrOutput) +} + +// Default Rule ID of the signal to correlate. This value is READ-ONLY. +func (o SecurityMonitoringRuleSignalQueryOutput) DefaultRuleId() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.DefaultRuleId }).(pulumi.StringPtrOutput) +} + +// Name of the query. Not compatible with `newValue` aggregations. +func (o SecurityMonitoringRuleSignalQueryOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// Rule ID of the signal to correlate. +func (o SecurityMonitoringRuleSignalQueryOutput) RuleId() pulumi.StringOutput { + return o.ApplyT(func(v SecurityMonitoringRuleSignalQuery) string { return v.RuleId }).(pulumi.StringOutput) +} + +type SecurityMonitoringRuleSignalQueryArrayOutput struct{ *pulumi.OutputState } + +func (SecurityMonitoringRuleSignalQueryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]SecurityMonitoringRuleSignalQuery)(nil)).Elem() +} + +func (o SecurityMonitoringRuleSignalQueryArrayOutput) ToSecurityMonitoringRuleSignalQueryArrayOutput() SecurityMonitoringRuleSignalQueryArrayOutput { + return o +} + +func (o SecurityMonitoringRuleSignalQueryArrayOutput) ToSecurityMonitoringRuleSignalQueryArrayOutputWithContext(ctx context.Context) SecurityMonitoringRuleSignalQueryArrayOutput { + return o +} + +func (o SecurityMonitoringRuleSignalQueryArrayOutput) Index(i pulumi.IntInput) SecurityMonitoringRuleSignalQueryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecurityMonitoringRuleSignalQuery { + return vs[0].([]SecurityMonitoringRuleSignalQuery)[vs[1].(int)] + }).(SecurityMonitoringRuleSignalQueryOutput) +} + type SecurityMonitoringRuleThirdPartyCase struct { // Name of the case. Name *string `pulumi:"name"` @@ -3232,8 +5034,10 @@ func (o SyntheticsTestApiStepArrayOutput) Index(i pulumi.IntInput) SyntheticsTes } type SyntheticsTestApiStepAssertion struct { + // If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + Code *string `pulumi:"code"` // Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - Operator string `pulumi:"operator"` + Operator *string `pulumi:"operator"` // If assertion type is `header`, this is the header name. Property *string `pulumi:"property"` // Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. @@ -3246,7 +5050,7 @@ type SyntheticsTestApiStepAssertion struct { Targetxpath *SyntheticsTestApiStepAssertionTargetxpath `pulumi:"targetxpath"` // Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. TimingsScope *string `pulumi:"timingsScope"` - // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. Type string `pulumi:"type"` } @@ -3262,8 +5066,10 @@ type SyntheticsTestApiStepAssertionInput interface { } type SyntheticsTestApiStepAssertionArgs struct { + // If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + Code pulumi.StringPtrInput `pulumi:"code"` // Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - Operator pulumi.StringInput `pulumi:"operator"` + Operator pulumi.StringPtrInput `pulumi:"operator"` // If assertion type is `header`, this is the header name. Property pulumi.StringPtrInput `pulumi:"property"` // Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. @@ -3276,7 +5082,7 @@ type SyntheticsTestApiStepAssertionArgs struct { Targetxpath SyntheticsTestApiStepAssertionTargetxpathPtrInput `pulumi:"targetxpath"` // Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. TimingsScope pulumi.StringPtrInput `pulumi:"timingsScope"` - // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. Type pulumi.StringInput `pulumi:"type"` } @@ -3331,9 +5137,14 @@ func (o SyntheticsTestApiStepAssertionOutput) ToSyntheticsTestApiStepAssertionOu return o } +// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. +func (o SyntheticsTestApiStepAssertionOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v SyntheticsTestApiStepAssertion) *string { return v.Code }).(pulumi.StringPtrOutput) +} + // Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). -func (o SyntheticsTestApiStepAssertionOutput) Operator() pulumi.StringOutput { - return o.ApplyT(func(v SyntheticsTestApiStepAssertion) string { return v.Operator }).(pulumi.StringOutput) +func (o SyntheticsTestApiStepAssertionOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v SyntheticsTestApiStepAssertion) *string { return v.Operator }).(pulumi.StringPtrOutput) } // If assertion type is `header`, this is the header name. @@ -3372,7 +5183,7 @@ func (o SyntheticsTestApiStepAssertionOutput) TimingsScope() pulumi.StringPtrOut return o.ApplyT(func(v SyntheticsTestApiStepAssertion) *string { return v.TimingsScope }).(pulumi.StringPtrOutput) } -// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. +// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. func (o SyntheticsTestApiStepAssertionOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v SyntheticsTestApiStepAssertion) string { return v.Type }).(pulumi.StringOutput) } @@ -6033,8 +7844,10 @@ func (o SyntheticsTestApiStepRetryPtrOutput) Interval() pulumi.IntPtrOutput { } type SyntheticsTestAssertion struct { + // If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + Code *string `pulumi:"code"` // Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - Operator string `pulumi:"operator"` + Operator *string `pulumi:"operator"` // If assertion type is `header`, this is the header name. Property *string `pulumi:"property"` // Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. @@ -6047,7 +7860,7 @@ type SyntheticsTestAssertion struct { Targetxpath *SyntheticsTestAssertionTargetxpath `pulumi:"targetxpath"` // Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. TimingsScope *string `pulumi:"timingsScope"` - // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. Type string `pulumi:"type"` } @@ -6063,8 +7876,10 @@ type SyntheticsTestAssertionInput interface { } type SyntheticsTestAssertionArgs struct { + // If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + Code pulumi.StringPtrInput `pulumi:"code"` // Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - Operator pulumi.StringInput `pulumi:"operator"` + Operator pulumi.StringPtrInput `pulumi:"operator"` // If assertion type is `header`, this is the header name. Property pulumi.StringPtrInput `pulumi:"property"` // Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. @@ -6077,7 +7892,7 @@ type SyntheticsTestAssertionArgs struct { Targetxpath SyntheticsTestAssertionTargetxpathPtrInput `pulumi:"targetxpath"` // Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. TimingsScope pulumi.StringPtrInput `pulumi:"timingsScope"` - // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + // Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. Type pulumi.StringInput `pulumi:"type"` } @@ -6132,9 +7947,14 @@ func (o SyntheticsTestAssertionOutput) ToSyntheticsTestAssertionOutputWithContex return o } +// If assertion type is `javascript`, this is the JavaScript code that performs the assertions. +func (o SyntheticsTestAssertionOutput) Code() pulumi.StringPtrOutput { + return o.ApplyT(func(v SyntheticsTestAssertion) *string { return v.Code }).(pulumi.StringPtrOutput) +} + // Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). -func (o SyntheticsTestAssertionOutput) Operator() pulumi.StringOutput { - return o.ApplyT(func(v SyntheticsTestAssertion) string { return v.Operator }).(pulumi.StringOutput) +func (o SyntheticsTestAssertionOutput) Operator() pulumi.StringPtrOutput { + return o.ApplyT(func(v SyntheticsTestAssertion) *string { return v.Operator }).(pulumi.StringPtrOutput) } // If assertion type is `header`, this is the header name. @@ -6167,7 +7987,7 @@ func (o SyntheticsTestAssertionOutput) TimingsScope() pulumi.StringPtrOutput { return o.ApplyT(func(v SyntheticsTestAssertion) *string { return v.TimingsScope }).(pulumi.StringPtrOutput) } -// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. +// Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. func (o SyntheticsTestAssertionOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v SyntheticsTestAssertion) string { return v.Type }).(pulumi.StringOutput) } @@ -7706,7 +9526,7 @@ type SyntheticsTestConfigVariable struct { Pattern *string `pulumi:"pattern"` // Whether the value of this variable will be obfuscated in test results. Defaults to `false`. Secure *bool `pulumi:"secure"` - // Type of test configuration variable. Valid values are `global`, `text`. + // Type of test configuration variable. Valid values are `global`, `text`, `email`. Type string `pulumi:"type"` } @@ -7730,7 +9550,7 @@ type SyntheticsTestConfigVariableArgs struct { Pattern pulumi.StringPtrInput `pulumi:"pattern"` // Whether the value of this variable will be obfuscated in test results. Defaults to `false`. Secure pulumi.BoolPtrInput `pulumi:"secure"` - // Type of test configuration variable. Valid values are `global`, `text`. + // Type of test configuration variable. Valid values are `global`, `text`, `email`. Type pulumi.StringInput `pulumi:"type"` } @@ -7808,7 +9628,7 @@ func (o SyntheticsTestConfigVariableOutput) Secure() pulumi.BoolPtrOutput { return o.ApplyT(func(v SyntheticsTestConfigVariable) *bool { return v.Secure }).(pulumi.BoolPtrOutput) } -// Type of test configuration variable. Valid values are `global`, `text`. +// Type of test configuration variable. Valid values are `global`, `text`, `email`. func (o SyntheticsTestConfigVariableOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v SyntheticsTestConfigVariable) string { return v.Type }).(pulumi.StringOutput) } @@ -11542,9 +13362,11 @@ type GetLogsIndexesLogsIndex struct { ExclusionFilters []GetLogsIndexesLogsIndexExclusionFilter `pulumi:"exclusionFilters"` // Logs filter Filters []GetLogsIndexesLogsIndexFilter `pulumi:"filters"` + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays int `pulumi:"flexRetentionDays"` // The name of the index. Name string `pulumi:"name"` - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays int `pulumi:"retentionDays"` } @@ -11570,9 +13392,11 @@ type GetLogsIndexesLogsIndexArgs struct { ExclusionFilters GetLogsIndexesLogsIndexExclusionFilterArrayInput `pulumi:"exclusionFilters"` // Logs filter Filters GetLogsIndexesLogsIndexFilterArrayInput `pulumi:"filters"` + // The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + FlexRetentionDays pulumi.IntInput `pulumi:"flexRetentionDays"` // The name of the index. Name pulumi.StringInput `pulumi:"name"` - // The number of days before logs are deleted from this index. + // The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. RetentionDays pulumi.IntInput `pulumi:"retentionDays"` } @@ -11652,12 +13476,17 @@ func (o GetLogsIndexesLogsIndexOutput) Filters() GetLogsIndexesLogsIndexFilterAr return o.ApplyT(func(v GetLogsIndexesLogsIndex) []GetLogsIndexesLogsIndexFilter { return v.Filters }).(GetLogsIndexesLogsIndexFilterArrayOutput) } +// The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. +func (o GetLogsIndexesLogsIndexOutput) FlexRetentionDays() pulumi.IntOutput { + return o.ApplyT(func(v GetLogsIndexesLogsIndex) int { return v.FlexRetentionDays }).(pulumi.IntOutput) +} + // The name of the index. func (o GetLogsIndexesLogsIndexOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetLogsIndexesLogsIndex) string { return v.Name }).(pulumi.StringOutput) } -// The number of days before logs are deleted from this index. +// The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. func (o GetLogsIndexesLogsIndexOutput) RetentionDays() pulumi.IntOutput { return o.ApplyT(func(v GetLogsIndexesLogsIndex) int { return v.RetentionDays }).(pulumi.IntOutput) } @@ -16243,6 +18072,30 @@ func (o GetUsersUserArrayOutput) Index(i pulumi.IntInput) GetUsersUserOutput { } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleOptionsInput)(nil)).Elem(), SecurityMonitoringDefaultRuleOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringDefaultRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringDefaultRuleOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringFilterExclusionFilterInput)(nil)).Elem(), SecurityMonitoringFilterExclusionFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringFilterExclusionFilterArrayInput)(nil)).Elem(), SecurityMonitoringFilterExclusionFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleCaseInput)(nil)).Elem(), SecurityMonitoringRuleCaseArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleCaseArrayInput)(nil)).Elem(), SecurityMonitoringRuleCaseArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleFilterInput)(nil)).Elem(), SecurityMonitoringRuleFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleFilterArrayInput)(nil)).Elem(), SecurityMonitoringRuleFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsImpossibleTravelOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsNewValueOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsNewValueOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsNewValueOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryInput)(nil)).Elem(), SecurityMonitoringRuleQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleQueryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRuleInput)(nil)).Elem(), SecurityMonitoringRuleQueryAgentRuleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleQueryAgentRuleArrayInput)(nil)).Elem(), SecurityMonitoringRuleQueryAgentRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleSignalQueryInput)(nil)).Elem(), SecurityMonitoringRuleSignalQueryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleSignalQueryArrayInput)(nil)).Elem(), SecurityMonitoringRuleSignalQueryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleThirdPartyCaseInput)(nil)).Elem(), SecurityMonitoringRuleThirdPartyCaseArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SecurityMonitoringRuleThirdPartyCaseArrayInput)(nil)).Elem(), SecurityMonitoringRuleThirdPartyCaseArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SensitiveDataScannerGroupFilterInput)(nil)).Elem(), SensitiveDataScannerGroupFilterArgs{}) @@ -16442,6 +18295,30 @@ 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(SecurityMonitoringDefaultRuleOptionsOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringDefaultRuleOptionsPtrOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringFilterExclusionFilterOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringFilterExclusionFilterArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleCaseOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleCaseArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleFilterOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleFilterArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsPtrOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsImpossibleTravelOptionsOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsImpossibleTravelOptionsPtrOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsNewValueOptionsOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsNewValueOptionsPtrOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsPtrOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleOptionsThirdPartyRuleOptionsRootQueryArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleQueryOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleQueryArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleQueryAgentRuleOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleQueryAgentRuleArrayOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleSignalQueryOutput{}) + pulumi.RegisterOutputType(SecurityMonitoringRuleSignalQueryArrayOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleThirdPartyCaseOutput{}) pulumi.RegisterOutputType(SecurityMonitoringRuleThirdPartyCaseArrayOutput{}) pulumi.RegisterOutputType(SensitiveDataScannerGroupFilterOutput{}) diff --git a/sdk/java/src/main/java/com/pulumi/datadog/LogsIndex.java b/sdk/java/src/main/java/com/pulumi/datadog/LogsIndex.java index e40ec58a3..9b96a25be 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/LogsIndex.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/LogsIndex.java @@ -60,6 +60,7 @@ * .build()) * .dailyLimitWarningThresholdPercentage(50) * .retentionDays(7) + * .flexRetentionDays(180) * .filters(LogsIndexFilterArgs.builder() * .query("*") * .build()) @@ -181,6 +182,20 @@ public Output>> exclusionFilters() { public Output> filters() { return this.filters; } + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + @Export(name="flexRetentionDays", refs={Integer.class}, tree="[0]") + private Output flexRetentionDays; + + /** + * @return The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + public Output flexRetentionDays() { + return this.flexRetentionDays; + } /** * The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. * @@ -196,14 +211,14 @@ public Output name() { return this.name; } /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ @Export(name="retentionDays", refs={Integer.class}, tree="[0]") private Output retentionDays; /** - * @return The number of days before logs are deleted from this index. + * @return The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ public Output retentionDays() { diff --git a/sdk/java/src/main/java/com/pulumi/datadog/LogsIndexArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/LogsIndexArgs.java index 16ebb57f4..29601fc49 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/LogsIndexArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/LogsIndexArgs.java @@ -113,6 +113,21 @@ public Output> filters() { return this.filters; } + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + @Import(name="flexRetentionDays") + private @Nullable Output flexRetentionDays; + + /** + * @return The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + public Optional> flexRetentionDays() { + return Optional.ofNullable(this.flexRetentionDays); + } + /** * The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. * @@ -129,14 +144,14 @@ public Output name() { } /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ @Import(name="retentionDays") private @Nullable Output retentionDays; /** - * @return The number of days before logs are deleted from this index. + * @return The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ public Optional> retentionDays() { @@ -152,6 +167,7 @@ private LogsIndexArgs(LogsIndexArgs $) { this.disableDailyLimit = $.disableDailyLimit; this.exclusionFilters = $.exclusionFilters; this.filters = $.filters; + this.flexRetentionDays = $.flexRetentionDays; this.name = $.name; this.retentionDays = $.retentionDays; } @@ -320,6 +336,27 @@ public Builder filters(LogsIndexFilterArgs... filters) { return filters(List.of(filters)); } + /** + * @param flexRetentionDays The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + * @return builder + * + */ + public Builder flexRetentionDays(@Nullable Output flexRetentionDays) { + $.flexRetentionDays = flexRetentionDays; + return this; + } + + /** + * @param flexRetentionDays The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + * @return builder + * + */ + public Builder flexRetentionDays(Integer flexRetentionDays) { + return flexRetentionDays(Output.of(flexRetentionDays)); + } + /** * @param name The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. * @@ -342,7 +379,7 @@ public Builder name(String name) { } /** - * @param retentionDays The number of days before logs are deleted from this index. + * @param retentionDays The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * * @return builder * @@ -353,7 +390,7 @@ public Builder retentionDays(@Nullable Output retentionDays) { } /** - * @param retentionDays The number of days before logs are deleted from this index. + * @param retentionDays The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestArgs.java index eb1d2c144..35524bf3d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestArgs.java @@ -12,6 +12,7 @@ import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestFormulaArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestProcessQueryArgs; import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestQueryArgs; +import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestTextFormatArgs; import com.pulumi.datadog.inputs.DashboardWidgetRumQueryArgs; import com.pulumi.datadog.inputs.DashboardWidgetSecurityQueryArgs; import java.lang.Integer; @@ -227,6 +228,21 @@ public Optional> securityQuery() { return Optional.ofNullable(this.securityQuery); } + /** + * Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + @Import(name="textFormats") + private @Nullable Output> textFormats; + + /** + * @return Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + public Optional>> textFormats() { + return Optional.ofNullable(this.textFormats); + } + private DashboardWidgetQueryTableDefinitionRequestArgs() {} private DashboardWidgetQueryTableDefinitionRequestArgs(DashboardWidgetQueryTableDefinitionRequestArgs $) { @@ -245,6 +261,7 @@ private DashboardWidgetQueryTableDefinitionRequestArgs(DashboardWidgetQueryTable this.queries = $.queries; this.rumQuery = $.rumQuery; this.securityQuery = $.securityQuery; + this.textFormats = $.textFormats; } public static Builder builder() { @@ -572,6 +589,37 @@ public Builder securityQuery(DashboardWidgetSecurityQueryArgs securityQuery) { return securityQuery(Output.of(securityQuery)); } + /** + * @param textFormats Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + * @return builder + * + */ + public Builder textFormats(@Nullable Output> textFormats) { + $.textFormats = textFormats; + return this; + } + + /** + * @param textFormats Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + * @return builder + * + */ + public Builder textFormats(List textFormats) { + return textFormats(Output.of(textFormats)); + } + + /** + * @param textFormats Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + * @return builder + * + */ + public Builder textFormats(DashboardWidgetQueryTableDefinitionRequestTextFormatArgs... textFormats) { + return textFormats(List.of(textFormats)); + } + public DashboardWidgetQueryTableDefinitionRequestArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatArgs.java new file mode 100644 index 000000000..9dee4d6f3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatArgs.java @@ -0,0 +1,94 @@ +// *** 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.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DashboardWidgetQueryTableDefinitionRequestTextFormatArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetQueryTableDefinitionRequestTextFormatArgs Empty = new DashboardWidgetQueryTableDefinitionRequestTextFormatArgs(); + + /** + * The text format to apply to the items in a table widget column. + * + */ + @Import(name="textFormats") + private @Nullable Output> textFormats; + + /** + * @return The text format to apply to the items in a table widget column. + * + */ + public Optional>> textFormats() { + return Optional.ofNullable(this.textFormats); + } + + private DashboardWidgetQueryTableDefinitionRequestTextFormatArgs() {} + + private DashboardWidgetQueryTableDefinitionRequestTextFormatArgs(DashboardWidgetQueryTableDefinitionRequestTextFormatArgs $) { + this.textFormats = $.textFormats; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetQueryTableDefinitionRequestTextFormatArgs $; + + public Builder() { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatArgs(); + } + + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatArgs defaults) { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param textFormats The text format to apply to the items in a table widget column. + * + * @return builder + * + */ + public Builder textFormats(@Nullable Output> textFormats) { + $.textFormats = textFormats; + return this; + } + + /** + * @param textFormats The text format to apply to the items in a table widget column. + * + * @return builder + * + */ + public Builder textFormats(List textFormats) { + return textFormats(Output.of(textFormats)); + } + + /** + * @param textFormats The text format to apply to the items in a table widget column. + * + * @return builder + * + */ + public Builder textFormats(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs... textFormats) { + return textFormats(List.of(textFormats)); + } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.java new file mode 100644 index 000000000..2f64183a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.java @@ -0,0 +1,237 @@ +// *** 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.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs; +import com.pulumi.datadog.inputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs Empty = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(); + + /** + * The custom color palette to apply to the background. + * + */ + @Import(name="customBgColor") + private @Nullable Output customBgColor; + + /** + * @return The custom color palette to apply to the background. + * + */ + public Optional> customBgColor() { + return Optional.ofNullable(this.customBgColor); + } + + /** + * The custom color palette to apply to the foreground text. + * + */ + @Import(name="customFgColor") + private @Nullable Output customFgColor; + + /** + * @return The custom color palette to apply to the foreground text. + * + */ + public Optional> customFgColor() { + return Optional.ofNullable(this.customFgColor); + } + + /** + * Match rule for the table widget text format. + * + */ + @Import(name="match", required=true) + private Output match; + + /** + * @return Match rule for the table widget text format. + * + */ + public Output match() { + return this.match; + } + + /** + * The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + @Import(name="palette") + private @Nullable Output palette; + + /** + * @return The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + public Optional> palette() { + return Optional.ofNullable(this.palette); + } + + /** + * Match rule for the table widget text format. + * + */ + @Import(name="replace") + private @Nullable Output replace; + + /** + * @return Match rule for the table widget text format. + * + */ + public Optional> replace() { + return Optional.ofNullable(this.replace); + } + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs() {} + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs $) { + this.customBgColor = $.customBgColor; + this.customFgColor = $.customFgColor; + this.match = $.match; + this.palette = $.palette; + this.replace = $.replace; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs $; + + public Builder() { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(); + } + + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs defaults) { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param customBgColor The custom color palette to apply to the background. + * + * @return builder + * + */ + public Builder customBgColor(@Nullable Output customBgColor) { + $.customBgColor = customBgColor; + return this; + } + + /** + * @param customBgColor The custom color palette to apply to the background. + * + * @return builder + * + */ + public Builder customBgColor(String customBgColor) { + return customBgColor(Output.of(customBgColor)); + } + + /** + * @param customFgColor The custom color palette to apply to the foreground text. + * + * @return builder + * + */ + public Builder customFgColor(@Nullable Output customFgColor) { + $.customFgColor = customFgColor; + return this; + } + + /** + * @param customFgColor The custom color palette to apply to the foreground text. + * + * @return builder + * + */ + public Builder customFgColor(String customFgColor) { + return customFgColor(Output.of(customFgColor)); + } + + /** + * @param match Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder match(Output match) { + $.match = match; + return this; + } + + /** + * @param match Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder match(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs match) { + return match(Output.of(match)); + } + + /** + * @param palette The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + * @return builder + * + */ + public Builder palette(@Nullable Output palette) { + $.palette = palette; + return this; + } + + /** + * @param palette The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + * @return builder + * + */ + public Builder palette(String palette) { + return palette(Output.of(palette)); + } + + /** + * @param replace Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder replace(@Nullable Output replace) { + $.replace = replace; + return this; + } + + /** + * @param replace Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder replace(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs replace) { + return replace(Output.of(replace)); + } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs build() { + if ($.match == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs", "match"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.java new file mode 100644 index 000000000..e510ed6a6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.java @@ -0,0 +1,125 @@ +// *** 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; + + +public final class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs Empty = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(); + + /** + * Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + public Output type() { + return this.type; + } + + /** + * Table Widget Match String. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return Table Widget Match String. + * + */ + public Output value() { + return this.value; + } + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs() {} + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs $) { + this.type = $.type; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs $; + + public Builder() { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(); + } + + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs defaults) { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param type Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param value Table Widget Match String. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Table Widget Match String. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs", "type"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.java new file mode 100644 index 000000000..65a46c5b4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.java @@ -0,0 +1,164 @@ +// *** 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 DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs Empty = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(); + + /** + * Text that will be replaced. Must be used with type `substring`. + * + */ + @Import(name="substring") + private @Nullable Output substring; + + /** + * @return Text that will be replaced. Must be used with type `substring`. + * + */ + public Optional> substring() { + return Optional.ofNullable(this.substring); + } + + /** + * Table widget text format replace all type. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Table widget text format replace all type. + * + */ + public Output type() { + return this.type; + } + + /** + * Table Widget Match String. + * + */ + @Import(name="with", required=true) + private Output with; + + /** + * @return Table Widget Match String. + * + */ + public Output with() { + return this.with; + } + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs() {} + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs $) { + this.substring = $.substring; + this.type = $.type; + this.with = $.with; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs $; + + public Builder() { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(); + } + + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs defaults) { + $ = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param substring Text that will be replaced. Must be used with type `substring`. + * + * @return builder + * + */ + public Builder substring(@Nullable Output substring) { + $.substring = substring; + return this; + } + + /** + * @param substring Text that will be replaced. Must be used with type `substring`. + * + * @return builder + * + */ + public Builder substring(String substring) { + return substring(Output.of(substring)); + } + + /** + * @param type Table widget text format replace all type. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Table widget text format replace all type. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param with Table Widget Match String. + * + * @return builder + * + */ + public Builder with(Output with) { + $.with = with; + return this; + } + + /** + * @param with Table Widget Match String. + * + * @return builder + * + */ + public Builder with(String with) { + return with(Output.of(with)); + } + + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs", "type"); + } + if ($.with == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs", "with"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionArgs.java index 72cd4045d..04ceff73f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionCustomLinkArgs; import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionRequestArgs; +import com.pulumi.datadog.inputs.DashboardWidgetToplistDefinitionStyleArgs; import java.lang.String; import java.util.List; import java.util.Objects; @@ -63,6 +64,21 @@ public Optional>> reque return Optional.ofNullable(this.requests); } + /** + * The style of the widget + * + */ + @Import(name="styles") + private @Nullable Output> styles; + + /** + * @return The style of the widget + * + */ + public Optional>> styles() { + return Optional.ofNullable(this.styles); + } + /** * The title of the widget. * @@ -114,6 +130,7 @@ private DashboardWidgetToplistDefinitionArgs(DashboardWidgetToplistDefinitionArg this.customLinks = $.customLinks; this.liveSpan = $.liveSpan; this.requests = $.requests; + this.styles = $.styles; this.title = $.title; this.titleAlign = $.titleAlign; this.titleSize = $.titleSize; @@ -220,6 +237,37 @@ public Builder requests(DashboardWidgetToplistDefinitionRequestArgs... requests) return requests(List.of(requests)); } + /** + * @param styles The style of the widget + * + * @return builder + * + */ + public Builder styles(@Nullable Output> styles) { + $.styles = styles; + return this; + } + + /** + * @param styles The style of the widget + * + * @return builder + * + */ + public Builder styles(List styles) { + return styles(Output.of(styles)); + } + + /** + * @param styles The style of the widget + * + * @return builder + * + */ + public Builder styles(DashboardWidgetToplistDefinitionStyleArgs... styles) { + return styles(List.of(styles)); + } + /** * @param title The title of the widget. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionStyleArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionStyleArgs.java new file mode 100644 index 000000000..414748635 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionStyleArgs.java @@ -0,0 +1,132 @@ +// *** 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.datadog.inputs.DashboardWidgetToplistDefinitionStyleDisplayArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DashboardWidgetToplistDefinitionStyleArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetToplistDefinitionStyleArgs Empty = new DashboardWidgetToplistDefinitionStyleArgs(); + + /** + * The display mode for the widget. + * + */ + @Import(name="displays") + private @Nullable Output> displays; + + /** + * @return The display mode for the widget. + * + */ + public Optional>> displays() { + return Optional.ofNullable(this.displays); + } + + /** + * The color palette for the widget. + * + */ + @Import(name="palette") + private @Nullable Output palette; + + /** + * @return The color palette for the widget. + * + */ + public Optional> palette() { + return Optional.ofNullable(this.palette); + } + + private DashboardWidgetToplistDefinitionStyleArgs() {} + + private DashboardWidgetToplistDefinitionStyleArgs(DashboardWidgetToplistDefinitionStyleArgs $) { + this.displays = $.displays; + this.palette = $.palette; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetToplistDefinitionStyleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetToplistDefinitionStyleArgs $; + + public Builder() { + $ = new DashboardWidgetToplistDefinitionStyleArgs(); + } + + public Builder(DashboardWidgetToplistDefinitionStyleArgs defaults) { + $ = new DashboardWidgetToplistDefinitionStyleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param displays The display mode for the widget. + * + * @return builder + * + */ + public Builder displays(@Nullable Output> displays) { + $.displays = displays; + return this; + } + + /** + * @param displays The display mode for the widget. + * + * @return builder + * + */ + public Builder displays(List displays) { + return displays(Output.of(displays)); + } + + /** + * @param displays The display mode for the widget. + * + * @return builder + * + */ + public Builder displays(DashboardWidgetToplistDefinitionStyleDisplayArgs... displays) { + return displays(List.of(displays)); + } + + /** + * @param palette The color palette for the widget. + * + * @return builder + * + */ + public Builder palette(@Nullable Output palette) { + $.palette = palette; + return this; + } + + /** + * @param palette The color palette for the widget. + * + * @return builder + * + */ + public Builder palette(String palette) { + return palette(Output.of(palette)); + } + + public DashboardWidgetToplistDefinitionStyleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionStyleDisplayArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionStyleDisplayArgs.java new file mode 100644 index 000000000..d7d278f67 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/DashboardWidgetToplistDefinitionStyleDisplayArgs.java @@ -0,0 +1,85 @@ +// *** 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; + + +public final class DashboardWidgetToplistDefinitionStyleDisplayArgs extends com.pulumi.resources.ResourceArgs { + + public static final DashboardWidgetToplistDefinitionStyleDisplayArgs Empty = new DashboardWidgetToplistDefinitionStyleDisplayArgs(); + + /** + * The display type for the widget. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The display type for the widget. + * + */ + public Output type() { + return this.type; + } + + private DashboardWidgetToplistDefinitionStyleDisplayArgs() {} + + private DashboardWidgetToplistDefinitionStyleDisplayArgs(DashboardWidgetToplistDefinitionStyleDisplayArgs $) { + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DashboardWidgetToplistDefinitionStyleDisplayArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DashboardWidgetToplistDefinitionStyleDisplayArgs $; + + public Builder() { + $ = new DashboardWidgetToplistDefinitionStyleDisplayArgs(); + } + + public Builder(DashboardWidgetToplistDefinitionStyleDisplayArgs defaults) { + $ = new DashboardWidgetToplistDefinitionStyleDisplayArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param type The display type for the widget. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The display type for the widget. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public DashboardWidgetToplistDefinitionStyleDisplayArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionStyleDisplayArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/LogsIndexState.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/LogsIndexState.java index 52cc78b4d..3e8d7edc7 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/LogsIndexState.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/LogsIndexState.java @@ -112,6 +112,21 @@ public Optional>> filters() { return Optional.ofNullable(this.filters); } + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + @Import(name="flexRetentionDays") + private @Nullable Output flexRetentionDays; + + /** + * @return The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + public Optional> flexRetentionDays() { + return Optional.ofNullable(this.flexRetentionDays); + } + /** * The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. * @@ -128,14 +143,14 @@ public Optional> name() { } /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ @Import(name="retentionDays") private @Nullable Output retentionDays; /** - * @return The number of days before logs are deleted from this index. + * @return The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ public Optional> retentionDays() { @@ -151,6 +166,7 @@ private LogsIndexState(LogsIndexState $) { this.disableDailyLimit = $.disableDailyLimit; this.exclusionFilters = $.exclusionFilters; this.filters = $.filters; + this.flexRetentionDays = $.flexRetentionDays; this.name = $.name; this.retentionDays = $.retentionDays; } @@ -319,6 +335,27 @@ public Builder filters(LogsIndexFilterArgs... filters) { return filters(List.of(filters)); } + /** + * @param flexRetentionDays The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + * @return builder + * + */ + public Builder flexRetentionDays(@Nullable Output flexRetentionDays) { + $.flexRetentionDays = flexRetentionDays; + return this; + } + + /** + * @param flexRetentionDays The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + * @return builder + * + */ + public Builder flexRetentionDays(Integer flexRetentionDays) { + return flexRetentionDays(Output.of(flexRetentionDays)); + } + /** * @param name The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. * @@ -341,7 +378,7 @@ public Builder name(String name) { } /** - * @param retentionDays The number of days before logs are deleted from this index. + * @param retentionDays The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * * @return builder * @@ -352,7 +389,7 @@ public Builder retentionDays(@Nullable Output retentionDays) { } /** - * @param retentionDays The number of days before logs are deleted from this index. + * @param retentionDays The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.java index 391de834b..fb0576bfb 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestArgs.java @@ -14,6 +14,7 @@ import com.pulumi.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestQueryArgs; import com.pulumi.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs; import com.pulumi.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs; +import com.pulumi.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -227,6 +228,21 @@ public Optional> textFormats; + + /** + * @return Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + public Optional>> textFormats() { + return Optional.ofNullable(this.textFormats); + } + private PowerpackWidgetQueryTableDefinitionRequestArgs() {} private PowerpackWidgetQueryTableDefinitionRequestArgs(PowerpackWidgetQueryTableDefinitionRequestArgs $) { @@ -245,6 +261,7 @@ private PowerpackWidgetQueryTableDefinitionRequestArgs(PowerpackWidgetQueryTable this.queries = $.queries; this.rumQuery = $.rumQuery; this.securityQuery = $.securityQuery; + this.textFormats = $.textFormats; } public static Builder builder() { @@ -572,6 +589,37 @@ public Builder securityQuery(PowerpackWidgetQueryTableDefinitionRequestSecurityQ return securityQuery(Output.of(securityQuery)); } + /** + * @param textFormats Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + * @return builder + * + */ + public Builder textFormats(@Nullable Output> textFormats) { + $.textFormats = textFormats; + return this; + } + + /** + * @param textFormats Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + * @return builder + * + */ + public Builder textFormats(List textFormats) { + return textFormats(Output.of(textFormats)); + } + + /** + * @param textFormats Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + * @return builder + * + */ + public Builder textFormats(PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs... textFormats) { + return textFormats(List.of(textFormats)); + } + public PowerpackWidgetQueryTableDefinitionRequestArgs build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs.java new file mode 100644 index 000000000..307668e73 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs.java @@ -0,0 +1,94 @@ +// *** 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.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs Empty = new PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs(); + + /** + * The text format to apply to the items in a table widget column. + * + */ + @Import(name="textFormats") + private @Nullable Output> textFormats; + + /** + * @return The text format to apply to the items in a table widget column. + * + */ + public Optional>> textFormats() { + return Optional.ofNullable(this.textFormats); + } + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs() {} + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs(PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs $) { + this.textFormats = $.textFormats; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs $; + + public Builder() { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs(); + } + + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs defaults) { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param textFormats The text format to apply to the items in a table widget column. + * + * @return builder + * + */ + public Builder textFormats(@Nullable Output> textFormats) { + $.textFormats = textFormats; + return this; + } + + /** + * @param textFormats The text format to apply to the items in a table widget column. + * + * @return builder + * + */ + public Builder textFormats(List textFormats) { + return textFormats(Output.of(textFormats)); + } + + /** + * @param textFormats The text format to apply to the items in a table widget column. + * + * @return builder + * + */ + public Builder textFormats(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs... textFormats) { + return textFormats(List.of(textFormats)); + } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.java new file mode 100644 index 000000000..b83ebd022 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs.java @@ -0,0 +1,237 @@ +// *** 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.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs; +import com.pulumi.datadog.inputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs Empty = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(); + + /** + * The custom color palette to apply to the background. + * + */ + @Import(name="customBgColor") + private @Nullable Output customBgColor; + + /** + * @return The custom color palette to apply to the background. + * + */ + public Optional> customBgColor() { + return Optional.ofNullable(this.customBgColor); + } + + /** + * The custom color palette to apply to the foreground text. + * + */ + @Import(name="customFgColor") + private @Nullable Output customFgColor; + + /** + * @return The custom color palette to apply to the foreground text. + * + */ + public Optional> customFgColor() { + return Optional.ofNullable(this.customFgColor); + } + + /** + * Match rule for the table widget text format. + * + */ + @Import(name="match", required=true) + private Output match; + + /** + * @return Match rule for the table widget text format. + * + */ + public Output match() { + return this.match; + } + + /** + * The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + @Import(name="palette") + private @Nullable Output palette; + + /** + * @return The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + public Optional> palette() { + return Optional.ofNullable(this.palette); + } + + /** + * Match rule for the table widget text format. + * + */ + @Import(name="replace") + private @Nullable Output replace; + + /** + * @return Match rule for the table widget text format. + * + */ + public Optional> replace() { + return Optional.ofNullable(this.replace); + } + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs() {} + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs $) { + this.customBgColor = $.customBgColor; + this.customFgColor = $.customFgColor; + this.match = $.match; + this.palette = $.palette; + this.replace = $.replace; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs $; + + public Builder() { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(); + } + + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs defaults) { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param customBgColor The custom color palette to apply to the background. + * + * @return builder + * + */ + public Builder customBgColor(@Nullable Output customBgColor) { + $.customBgColor = customBgColor; + return this; + } + + /** + * @param customBgColor The custom color palette to apply to the background. + * + * @return builder + * + */ + public Builder customBgColor(String customBgColor) { + return customBgColor(Output.of(customBgColor)); + } + + /** + * @param customFgColor The custom color palette to apply to the foreground text. + * + * @return builder + * + */ + public Builder customFgColor(@Nullable Output customFgColor) { + $.customFgColor = customFgColor; + return this; + } + + /** + * @param customFgColor The custom color palette to apply to the foreground text. + * + * @return builder + * + */ + public Builder customFgColor(String customFgColor) { + return customFgColor(Output.of(customFgColor)); + } + + /** + * @param match Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder match(Output match) { + $.match = match; + return this; + } + + /** + * @param match Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder match(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs match) { + return match(Output.of(match)); + } + + /** + * @param palette The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + * @return builder + * + */ + public Builder palette(@Nullable Output palette) { + $.palette = palette; + return this; + } + + /** + * @param palette The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + * @return builder + * + */ + public Builder palette(String palette) { + return palette(Output.of(palette)); + } + + /** + * @param replace Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder replace(@Nullable Output replace) { + $.replace = replace; + return this; + } + + /** + * @param replace Match rule for the table widget text format. + * + * @return builder + * + */ + public Builder replace(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs replace) { + return replace(Output.of(replace)); + } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs build() { + if ($.match == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs", "match"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.java new file mode 100644 index 000000000..2a82f3bb3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs.java @@ -0,0 +1,125 @@ +// *** 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; + + +public final class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs Empty = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(); + + /** + * Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + public Output type() { + return this.type; + } + + /** + * Table Widget Match String. + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return Table Widget Match String. + * + */ + public Output value() { + return this.value; + } + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs() {} + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs $) { + this.type = $.type; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs $; + + public Builder() { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(); + } + + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs defaults) { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param type Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param value Table Widget Match String. + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Table Widget Match String. + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs", "type"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.java new file mode 100644 index 000000000..9086abc4a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs.java @@ -0,0 +1,164 @@ +// *** 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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs Empty = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(); + + /** + * Text that will be replaced. Must be used with type `substring`. + * + */ + @Import(name="substring") + private @Nullable Output substring; + + /** + * @return Text that will be replaced. Must be used with type `substring`. + * + */ + public Optional> substring() { + return Optional.ofNullable(this.substring); + } + + /** + * Table widget text format replace all type. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Table widget text format replace all type. + * + */ + public Output type() { + return this.type; + } + + /** + * Table Widget Match String. + * + */ + @Import(name="with", required=true) + private Output with; + + /** + * @return Table Widget Match String. + * + */ + public Output with() { + return this.with; + } + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs() {} + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs $) { + this.substring = $.substring; + this.type = $.type; + this.with = $.with; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs $; + + public Builder() { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(); + } + + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs defaults) { + $ = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param substring Text that will be replaced. Must be used with type `substring`. + * + * @return builder + * + */ + public Builder substring(@Nullable Output substring) { + $.substring = substring; + return this; + } + + /** + * @param substring Text that will be replaced. Must be used with type `substring`. + * + * @return builder + * + */ + public Builder substring(String substring) { + return substring(Output.of(substring)); + } + + /** + * @param type Table widget text format replace all type. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Table widget text format replace all type. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param with Table Widget Match String. + * + * @return builder + * + */ + public Builder with(Output with) { + $.with = with; + return this; + } + + /** + * @param with Table Widget Match String. + * + * @return builder + * + */ + public Builder with(String with) { + return with(Output.of(with)); + } + + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs", "type"); + } + if ($.with == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs", "with"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionArgs.java index 29fb164ff..028fa3e2f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.datadog.inputs.PowerpackWidgetToplistDefinitionCustomLinkArgs; import com.pulumi.datadog.inputs.PowerpackWidgetToplistDefinitionRequestArgs; +import com.pulumi.datadog.inputs.PowerpackWidgetToplistDefinitionStyleArgs; import java.lang.String; import java.util.List; import java.util.Objects; @@ -63,6 +64,21 @@ public Optional>> reque return Optional.ofNullable(this.requests); } + /** + * The style of the widget + * + */ + @Import(name="styles") + private @Nullable Output> styles; + + /** + * @return The style of the widget + * + */ + public Optional>> styles() { + return Optional.ofNullable(this.styles); + } + /** * The title of the widget. * @@ -114,6 +130,7 @@ private PowerpackWidgetToplistDefinitionArgs(PowerpackWidgetToplistDefinitionArg this.customLinks = $.customLinks; this.liveSpan = $.liveSpan; this.requests = $.requests; + this.styles = $.styles; this.title = $.title; this.titleAlign = $.titleAlign; this.titleSize = $.titleSize; @@ -220,6 +237,37 @@ public Builder requests(PowerpackWidgetToplistDefinitionRequestArgs... requests) return requests(List.of(requests)); } + /** + * @param styles The style of the widget + * + * @return builder + * + */ + public Builder styles(@Nullable Output> styles) { + $.styles = styles; + return this; + } + + /** + * @param styles The style of the widget + * + * @return builder + * + */ + public Builder styles(List styles) { + return styles(Output.of(styles)); + } + + /** + * @param styles The style of the widget + * + * @return builder + * + */ + public Builder styles(PowerpackWidgetToplistDefinitionStyleArgs... styles) { + return styles(List.of(styles)); + } + /** * @param title The title of the widget. * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionStyleArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionStyleArgs.java new file mode 100644 index 000000000..da47d90d4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionStyleArgs.java @@ -0,0 +1,132 @@ +// *** 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.datadog.inputs.PowerpackWidgetToplistDefinitionStyleDisplayArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PowerpackWidgetToplistDefinitionStyleArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetToplistDefinitionStyleArgs Empty = new PowerpackWidgetToplistDefinitionStyleArgs(); + + /** + * The display mode for the widget. + * + */ + @Import(name="displays") + private @Nullable Output> displays; + + /** + * @return The display mode for the widget. + * + */ + public Optional>> displays() { + return Optional.ofNullable(this.displays); + } + + /** + * The color palette for the widget. + * + */ + @Import(name="palette") + private @Nullable Output palette; + + /** + * @return The color palette for the widget. + * + */ + public Optional> palette() { + return Optional.ofNullable(this.palette); + } + + private PowerpackWidgetToplistDefinitionStyleArgs() {} + + private PowerpackWidgetToplistDefinitionStyleArgs(PowerpackWidgetToplistDefinitionStyleArgs $) { + this.displays = $.displays; + this.palette = $.palette; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetToplistDefinitionStyleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetToplistDefinitionStyleArgs $; + + public Builder() { + $ = new PowerpackWidgetToplistDefinitionStyleArgs(); + } + + public Builder(PowerpackWidgetToplistDefinitionStyleArgs defaults) { + $ = new PowerpackWidgetToplistDefinitionStyleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param displays The display mode for the widget. + * + * @return builder + * + */ + public Builder displays(@Nullable Output> displays) { + $.displays = displays; + return this; + } + + /** + * @param displays The display mode for the widget. + * + * @return builder + * + */ + public Builder displays(List displays) { + return displays(Output.of(displays)); + } + + /** + * @param displays The display mode for the widget. + * + * @return builder + * + */ + public Builder displays(PowerpackWidgetToplistDefinitionStyleDisplayArgs... displays) { + return displays(List.of(displays)); + } + + /** + * @param palette The color palette for the widget. + * + * @return builder + * + */ + public Builder palette(@Nullable Output palette) { + $.palette = palette; + return this; + } + + /** + * @param palette The color palette for the widget. + * + * @return builder + * + */ + public Builder palette(String palette) { + return palette(Output.of(palette)); + } + + public PowerpackWidgetToplistDefinitionStyleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionStyleDisplayArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionStyleDisplayArgs.java new file mode 100644 index 000000000..10358078a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/PowerpackWidgetToplistDefinitionStyleDisplayArgs.java @@ -0,0 +1,85 @@ +// *** 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; + + +public final class PowerpackWidgetToplistDefinitionStyleDisplayArgs extends com.pulumi.resources.ResourceArgs { + + public static final PowerpackWidgetToplistDefinitionStyleDisplayArgs Empty = new PowerpackWidgetToplistDefinitionStyleDisplayArgs(); + + /** + * The display type for the widget. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The display type for the widget. + * + */ + public Output type() { + return this.type; + } + + private PowerpackWidgetToplistDefinitionStyleDisplayArgs() {} + + private PowerpackWidgetToplistDefinitionStyleDisplayArgs(PowerpackWidgetToplistDefinitionStyleDisplayArgs $) { + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PowerpackWidgetToplistDefinitionStyleDisplayArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PowerpackWidgetToplistDefinitionStyleDisplayArgs $; + + public Builder() { + $ = new PowerpackWidgetToplistDefinitionStyleDisplayArgs(); + } + + public Builder(PowerpackWidgetToplistDefinitionStyleDisplayArgs defaults) { + $ = new PowerpackWidgetToplistDefinitionStyleDisplayArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param type The display type for the widget. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The display type for the widget. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public PowerpackWidgetToplistDefinitionStyleDisplayArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetToplistDefinitionStyleDisplayArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestApiStepAssertionArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestApiStepAssertionArgs.java index 03ba53cb4..059f916a8 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestApiStepAssertionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestApiStepAssertionArgs.java @@ -19,19 +19,34 @@ public final class SyntheticsTestApiStepAssertionArgs extends com.pulumi.resourc public static final SyntheticsTestApiStepAssertionArgs Empty = new SyntheticsTestApiStepAssertionArgs(); + /** + * If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + @Import(name="code") + private @Nullable Output code; + + /** + * @return If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + public Optional> code() { + return Optional.ofNullable(this.code); + } + /** * Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - @Import(name="operator", required=true) - private Output operator; + @Import(name="operator") + private @Nullable Output operator; /** * @return Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - public Output operator() { - return this.operator; + public Optional> operator() { + return Optional.ofNullable(this.operator); } /** @@ -125,14 +140,14 @@ public Optional> timingsScope() { } /** - * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ @Import(name="type", required=true) private Output type; /** - * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ public Output type() { @@ -142,6 +157,7 @@ public Output type() { private SyntheticsTestApiStepAssertionArgs() {} private SyntheticsTestApiStepAssertionArgs(SyntheticsTestApiStepAssertionArgs $) { + this.code = $.code; this.operator = $.operator; this.property = $.property; this.target = $.target; @@ -170,13 +186,34 @@ public Builder(SyntheticsTestApiStepAssertionArgs defaults) { $ = new SyntheticsTestApiStepAssertionArgs(Objects.requireNonNull(defaults)); } + /** + * @param code If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + * @return builder + * + */ + public Builder code(@Nullable Output code) { + $.code = code; + return this; + } + + /** + * @param code If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + * @return builder + * + */ + public Builder code(String code) { + return code(Output.of(code)); + } + /** * @param operator Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * * @return builder * */ - public Builder operator(Output operator) { + public Builder operator(@Nullable Output operator) { $.operator = operator; return this; } @@ -318,7 +355,7 @@ public Builder timingsScope(String timingsScope) { } /** - * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * * @return builder * @@ -329,7 +366,7 @@ public Builder type(Output type) { } /** - * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * * @return builder * @@ -339,9 +376,6 @@ public Builder type(String type) { } public SyntheticsTestApiStepAssertionArgs build() { - if ($.operator == null) { - throw new MissingRequiredPropertyException("SyntheticsTestApiStepAssertionArgs", "operator"); - } if ($.type == null) { throw new MissingRequiredPropertyException("SyntheticsTestApiStepAssertionArgs", "type"); } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestAssertionArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestAssertionArgs.java index bd99d8af5..189d9999d 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestAssertionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestAssertionArgs.java @@ -19,19 +19,34 @@ public final class SyntheticsTestAssertionArgs extends com.pulumi.resources.Reso public static final SyntheticsTestAssertionArgs Empty = new SyntheticsTestAssertionArgs(); + /** + * If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + @Import(name="code") + private @Nullable Output code; + + /** + * @return If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + public Optional> code() { + return Optional.ofNullable(this.code); + } + /** * Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - @Import(name="operator", required=true) - private Output operator; + @Import(name="operator") + private @Nullable Output operator; /** * @return Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - public Output operator() { - return this.operator; + public Optional> operator() { + return Optional.ofNullable(this.operator); } /** @@ -125,14 +140,14 @@ public Optional> timingsScope() { } /** - * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ @Import(name="type", required=true) private Output type; /** - * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ public Output type() { @@ -142,6 +157,7 @@ public Output type() { private SyntheticsTestAssertionArgs() {} private SyntheticsTestAssertionArgs(SyntheticsTestAssertionArgs $) { + this.code = $.code; this.operator = $.operator; this.property = $.property; this.target = $.target; @@ -170,13 +186,34 @@ public Builder(SyntheticsTestAssertionArgs defaults) { $ = new SyntheticsTestAssertionArgs(Objects.requireNonNull(defaults)); } + /** + * @param code If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + * @return builder + * + */ + public Builder code(@Nullable Output code) { + $.code = code; + return this; + } + + /** + * @param code If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + * @return builder + * + */ + public Builder code(String code) { + return code(Output.of(code)); + } + /** * @param operator Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * * @return builder * */ - public Builder operator(Output operator) { + public Builder operator(@Nullable Output operator) { $.operator = operator; return this; } @@ -318,7 +355,7 @@ public Builder timingsScope(String timingsScope) { } /** - * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * * @return builder * @@ -329,7 +366,7 @@ public Builder type(Output type) { } /** - * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @param type Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * * @return builder * @@ -339,9 +376,6 @@ public Builder type(String type) { } public SyntheticsTestAssertionArgs build() { - if ($.operator == null) { - throw new MissingRequiredPropertyException("SyntheticsTestAssertionArgs", "operator"); - } if ($.type == null) { throw new MissingRequiredPropertyException("SyntheticsTestAssertionArgs", "type"); } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestConfigVariableArgs.java b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestConfigVariableArgs.java index d88dc237e..619c6bd24 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestConfigVariableArgs.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/inputs/SyntheticsTestConfigVariableArgs.java @@ -77,14 +77,14 @@ public Optional> secure() { } /** - * Type of test configuration variable. Valid values are `global`, `text`. + * Type of test configuration variable. Valid values are `global`, `text`, `email`. * */ @Import(name="type", required=true) private Output type; /** - * @return Type of test configuration variable. Valid values are `global`, `text`. + * @return Type of test configuration variable. Valid values are `global`, `text`, `email`. * */ public Output type() { @@ -202,7 +202,7 @@ public Builder secure(Boolean secure) { } /** - * @param type Type of test configuration variable. Valid values are `global`, `text`. + * @param type Type of test configuration variable. Valid values are `global`, `text`, `email`. * * @return builder * @@ -213,7 +213,7 @@ public Builder type(Output type) { } /** - * @param type Type of test configuration variable. Valid values are `global`, `text`. + * @param type Type of test configuration variable. Valid values are `global`, `text`, `email`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequest.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequest.java index 3e4072b36..cf8ff8667 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequest.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequest.java @@ -11,6 +11,7 @@ import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestFormula; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestProcessQuery; import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestQuery; +import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestTextFormat; import com.pulumi.datadog.outputs.DashboardWidgetRumQuery; import com.pulumi.datadog.outputs.DashboardWidgetSecurityQuery; import java.lang.Integer; @@ -85,6 +86,11 @@ public final class DashboardWidgetQueryTableDefinitionRequest { * */ private @Nullable DashboardWidgetSecurityQuery securityQuery; + /** + * @return Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + private @Nullable List textFormats; private DashboardWidgetQueryTableDefinitionRequest() {} /** @@ -180,6 +186,13 @@ public Optional rumQuery() { public Optional securityQuery() { return Optional.ofNullable(this.securityQuery); } + /** + * @return Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + public List textFormats() { + return this.textFormats == null ? List.of() : this.textFormats; + } public static Builder builder() { return new Builder(); @@ -205,6 +218,7 @@ public static final class Builder { private @Nullable List queries; private @Nullable DashboardWidgetRumQuery rumQuery; private @Nullable DashboardWidgetSecurityQuery securityQuery; + private @Nullable List textFormats; public Builder() {} public Builder(DashboardWidgetQueryTableDefinitionRequest defaults) { Objects.requireNonNull(defaults); @@ -223,6 +237,7 @@ public Builder(DashboardWidgetQueryTableDefinitionRequest defaults) { this.queries = defaults.queries; this.rumQuery = defaults.rumQuery; this.securityQuery = defaults.securityQuery; + this.textFormats = defaults.textFormats; } @CustomType.Setter @@ -327,6 +342,15 @@ public Builder securityQuery(@Nullable DashboardWidgetSecurityQuery securityQuer this.securityQuery = securityQuery; return this; } + @CustomType.Setter + public Builder textFormats(@Nullable List textFormats) { + + this.textFormats = textFormats; + return this; + } + public Builder textFormats(DashboardWidgetQueryTableDefinitionRequestTextFormat... textFormats) { + return textFormats(List.of(textFormats)); + } public DashboardWidgetQueryTableDefinitionRequest build() { final var _resultValue = new DashboardWidgetQueryTableDefinitionRequest(); _resultValue.aggregator = aggregator; @@ -344,6 +368,7 @@ public DashboardWidgetQueryTableDefinitionRequest build() { _resultValue.queries = queries; _resultValue.rumQuery = rumQuery; _resultValue.securityQuery = securityQuery; + _resultValue.textFormats = textFormats; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormat.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormat.java new file mode 100644 index 000000000..6353e1e87 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormat.java @@ -0,0 +1,60 @@ +// *** 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.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class DashboardWidgetQueryTableDefinitionRequestTextFormat { + /** + * @return The text format to apply to the items in a table widget column. + * + */ + private @Nullable List textFormats; + + private DashboardWidgetQueryTableDefinitionRequestTextFormat() {} + /** + * @return The text format to apply to the items in a table widget column. + * + */ + public List textFormats() { + return this.textFormats == null ? List.of() : this.textFormats; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormat defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List textFormats; + public Builder() {} + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormat defaults) { + Objects.requireNonNull(defaults); + this.textFormats = defaults.textFormats; + } + + @CustomType.Setter + public Builder textFormats(@Nullable List textFormats) { + + this.textFormats = textFormats; + return this; + } + public Builder textFormats(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat... textFormats) { + return textFormats(List.of(textFormats)); + } + public DashboardWidgetQueryTableDefinitionRequestTextFormat build() { + final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestTextFormat(); + _resultValue.textFormats = textFormats; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.java new file mode 100644 index 000000000..c9939b380 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.java @@ -0,0 +1,146 @@ +// *** 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.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch; +import com.pulumi.datadog.outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace; +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 DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat { + /** + * @return The custom color palette to apply to the background. + * + */ + private @Nullable String customBgColor; + /** + * @return The custom color palette to apply to the foreground text. + * + */ + private @Nullable String customFgColor; + /** + * @return Match rule for the table widget text format. + * + */ + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match; + /** + * @return The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + private @Nullable String palette; + /** + * @return Match rule for the table widget text format. + * + */ + private @Nullable DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace replace; + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat() {} + /** + * @return The custom color palette to apply to the background. + * + */ + public Optional customBgColor() { + return Optional.ofNullable(this.customBgColor); + } + /** + * @return The custom color palette to apply to the foreground text. + * + */ + public Optional customFgColor() { + return Optional.ofNullable(this.customFgColor); + } + /** + * @return Match rule for the table widget text format. + * + */ + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match() { + return this.match; + } + /** + * @return The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + public Optional palette() { + return Optional.ofNullable(this.palette); + } + /** + * @return Match rule for the table widget text format. + * + */ + public Optional replace() { + return Optional.ofNullable(this.replace); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String customBgColor; + private @Nullable String customFgColor; + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match; + private @Nullable String palette; + private @Nullable DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace replace; + public Builder() {} + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat defaults) { + Objects.requireNonNull(defaults); + this.customBgColor = defaults.customBgColor; + this.customFgColor = defaults.customFgColor; + this.match = defaults.match; + this.palette = defaults.palette; + this.replace = defaults.replace; + } + + @CustomType.Setter + public Builder customBgColor(@Nullable String customBgColor) { + + this.customBgColor = customBgColor; + return this; + } + @CustomType.Setter + public Builder customFgColor(@Nullable String customFgColor) { + + this.customFgColor = customFgColor; + return this; + } + @CustomType.Setter + public Builder match(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match) { + if (match == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat", "match"); + } + this.match = match; + return this; + } + @CustomType.Setter + public Builder palette(@Nullable String palette) { + + this.palette = palette; + return this; + } + @CustomType.Setter + public Builder replace(@Nullable DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace replace) { + + this.replace = replace; + return this; + } + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat build() { + final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat(); + _resultValue.customBgColor = customBgColor; + _resultValue.customFgColor = customFgColor; + _resultValue.match = match; + _resultValue.palette = palette; + _resultValue.replace = replace; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.java new file mode 100644 index 000000000..9e4bffb02 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.java @@ -0,0 +1,81 @@ +// *** 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; + +@CustomType +public final class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + /** + * @return Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + private String type; + /** + * @return Table Widget Match String. + * + */ + private String value; + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch() {} + /** + * @return Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + public String type() { + return this.type; + } + /** + * @return Table Widget Match String. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + private String value; + public Builder() {} + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch", "value"); + } + this.value = value; + return this; + } + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch build() { + final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch(); + _resultValue.type = type; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.java new file mode 100644 index 000000000..7e523d75e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.java @@ -0,0 +1,104 @@ +// *** 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 DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + /** + * @return Text that will be replaced. Must be used with type `substring`. + * + */ + private @Nullable String substring; + /** + * @return Table widget text format replace all type. + * + */ + private String type; + /** + * @return Table Widget Match String. + * + */ + private String with; + + private DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace() {} + /** + * @return Text that will be replaced. Must be used with type `substring`. + * + */ + public Optional substring() { + return Optional.ofNullable(this.substring); + } + /** + * @return Table widget text format replace all type. + * + */ + public String type() { + return this.type; + } + /** + * @return Table Widget Match String. + * + */ + public String with() { + return this.with; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String substring; + private String type; + private String with; + public Builder() {} + public Builder(DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace defaults) { + Objects.requireNonNull(defaults); + this.substring = defaults.substring; + this.type = defaults.type; + this.with = defaults.with; + } + + @CustomType.Setter + public Builder substring(@Nullable String substring) { + + this.substring = substring; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder with(String with) { + if (with == null) { + throw new MissingRequiredPropertyException("DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace", "with"); + } + this.with = with; + return this; + } + public DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace build() { + final var _resultValue = new DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace(); + _resultValue.substring = substring; + _resultValue.type = type; + _resultValue.with = with; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinition.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinition.java index ed03817b8..7a038a34f 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinition.java @@ -6,6 +6,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionCustomLink; import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionRequest; +import com.pulumi.datadog.outputs.DashboardWidgetToplistDefinitionStyle; import java.lang.String; import java.util.List; import java.util.Objects; @@ -29,6 +30,11 @@ public final class DashboardWidgetToplistDefinition { * */ private @Nullable List requests; + /** + * @return The style of the widget + * + */ + private @Nullable List styles; /** * @return The title of the widget. * @@ -67,6 +73,13 @@ public Optional liveSpan() { public List requests() { return this.requests == null ? List.of() : this.requests; } + /** + * @return The style of the widget + * + */ + public List styles() { + return this.styles == null ? List.of() : this.styles; + } /** * @return The title of the widget. * @@ -101,6 +114,7 @@ public static final class Builder { private @Nullable List customLinks; private @Nullable String liveSpan; private @Nullable List requests; + private @Nullable List styles; private @Nullable String title; private @Nullable String titleAlign; private @Nullable String titleSize; @@ -110,6 +124,7 @@ public Builder(DashboardWidgetToplistDefinition defaults) { this.customLinks = defaults.customLinks; this.liveSpan = defaults.liveSpan; this.requests = defaults.requests; + this.styles = defaults.styles; this.title = defaults.title; this.titleAlign = defaults.titleAlign; this.titleSize = defaults.titleSize; @@ -140,6 +155,15 @@ public Builder requests(DashboardWidgetToplistDefinitionRequest... requests) { return requests(List.of(requests)); } @CustomType.Setter + public Builder styles(@Nullable List styles) { + + this.styles = styles; + return this; + } + public Builder styles(DashboardWidgetToplistDefinitionStyle... styles) { + return styles(List.of(styles)); + } + @CustomType.Setter public Builder title(@Nullable String title) { this.title = title; @@ -162,6 +186,7 @@ public DashboardWidgetToplistDefinition build() { _resultValue.customLinks = customLinks; _resultValue.liveSpan = liveSpan; _resultValue.requests = requests; + _resultValue.styles = styles; _resultValue.title = title; _resultValue.titleAlign = titleAlign; _resultValue.titleSize = titleSize; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionStyle.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionStyle.java new file mode 100644 index 000000000..4d43d91d6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionStyle.java @@ -0,0 +1,83 @@ +// *** 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.DashboardWidgetToplistDefinitionStyleDisplay; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class DashboardWidgetToplistDefinitionStyle { + /** + * @return The display mode for the widget. + * + */ + private @Nullable List displays; + /** + * @return The color palette for the widget. + * + */ + private @Nullable String palette; + + private DashboardWidgetToplistDefinitionStyle() {} + /** + * @return The display mode for the widget. + * + */ + public List displays() { + return this.displays == null ? List.of() : this.displays; + } + /** + * @return The color palette for the widget. + * + */ + public Optional palette() { + return Optional.ofNullable(this.palette); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetToplistDefinitionStyle defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List displays; + private @Nullable String palette; + public Builder() {} + public Builder(DashboardWidgetToplistDefinitionStyle defaults) { + Objects.requireNonNull(defaults); + this.displays = defaults.displays; + this.palette = defaults.palette; + } + + @CustomType.Setter + public Builder displays(@Nullable List displays) { + + this.displays = displays; + return this; + } + public Builder displays(DashboardWidgetToplistDefinitionStyleDisplay... displays) { + return displays(List.of(displays)); + } + @CustomType.Setter + public Builder palette(@Nullable String palette) { + + this.palette = palette; + return this; + } + public DashboardWidgetToplistDefinitionStyle build() { + final var _resultValue = new DashboardWidgetToplistDefinitionStyle(); + _resultValue.displays = displays; + _resultValue.palette = palette; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionStyleDisplay.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionStyleDisplay.java new file mode 100644 index 000000000..acfc5eb70 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/DashboardWidgetToplistDefinitionStyleDisplay.java @@ -0,0 +1,58 @@ +// *** 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; + +@CustomType +public final class DashboardWidgetToplistDefinitionStyleDisplay { + /** + * @return The display type for the widget. + * + */ + private String type; + + private DashboardWidgetToplistDefinitionStyleDisplay() {} + /** + * @return The display type for the widget. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DashboardWidgetToplistDefinitionStyleDisplay defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + public Builder() {} + public Builder(DashboardWidgetToplistDefinitionStyleDisplay defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("DashboardWidgetToplistDefinitionStyleDisplay", "type"); + } + this.type = type; + return this; + } + public DashboardWidgetToplistDefinitionStyleDisplay build() { + final var _resultValue = new DashboardWidgetToplistDefinitionStyleDisplay(); + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetLogsIndexesLogsIndex.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetLogsIndexesLogsIndex.java index c373aed22..29479111b 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetLogsIndexesLogsIndex.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/GetLogsIndexesLogsIndex.java @@ -41,13 +41,18 @@ public final class GetLogsIndexesLogsIndex { * */ private List filters; + /** + * @return The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + private Integer flexRetentionDays; /** * @return The name of the index. * */ private String name; /** - * @return The number of days before logs are deleted from this index. + * @return The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ private Integer retentionDays; @@ -88,6 +93,13 @@ public List exclusionFilters() { public List filters() { return this.filters; } + /** + * @return The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + * + */ + public Integer flexRetentionDays() { + return this.flexRetentionDays; + } /** * @return The name of the index. * @@ -96,7 +108,7 @@ public String name() { return this.name; } /** - * @return The number of days before logs are deleted from this index. + * @return The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. * */ public Integer retentionDays() { @@ -117,6 +129,7 @@ public static final class Builder { private Double dailyLimitWarningThresholdPercentage; private List exclusionFilters; private List filters; + private Integer flexRetentionDays; private String name; private Integer retentionDays; public Builder() {} @@ -127,6 +140,7 @@ public Builder(GetLogsIndexesLogsIndex defaults) { this.dailyLimitWarningThresholdPercentage = defaults.dailyLimitWarningThresholdPercentage; this.exclusionFilters = defaults.exclusionFilters; this.filters = defaults.filters; + this.flexRetentionDays = defaults.flexRetentionDays; this.name = defaults.name; this.retentionDays = defaults.retentionDays; } @@ -181,6 +195,14 @@ public Builder filters(GetLogsIndexesLogsIndexFilter... filters) { return filters(List.of(filters)); } @CustomType.Setter + public Builder flexRetentionDays(Integer flexRetentionDays) { + if (flexRetentionDays == null) { + throw new MissingRequiredPropertyException("GetLogsIndexesLogsIndex", "flexRetentionDays"); + } + this.flexRetentionDays = flexRetentionDays; + return this; + } + @CustomType.Setter public Builder name(String name) { if (name == null) { throw new MissingRequiredPropertyException("GetLogsIndexesLogsIndex", "name"); @@ -203,6 +225,7 @@ public GetLogsIndexesLogsIndex build() { _resultValue.dailyLimitWarningThresholdPercentage = dailyLimitWarningThresholdPercentage; _resultValue.exclusionFilters = exclusionFilters; _resultValue.filters = filters; + _resultValue.flexRetentionDays = flexRetentionDays; _resultValue.name = name; _resultValue.retentionDays = retentionDays; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequest.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequest.java index ab793db20..dd3f48536 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequest.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequest.java @@ -13,6 +13,7 @@ import com.pulumi.datadog.outputs.PowerpackWidgetQueryTableDefinitionRequestQuery; import com.pulumi.datadog.outputs.PowerpackWidgetQueryTableDefinitionRequestRumQuery; import com.pulumi.datadog.outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery; +import com.pulumi.datadog.outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormat; import java.lang.Integer; import java.lang.String; import java.util.List; @@ -85,6 +86,11 @@ public final class PowerpackWidgetQueryTableDefinitionRequest { * */ private @Nullable PowerpackWidgetQueryTableDefinitionRequestSecurityQuery securityQuery; + /** + * @return Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + private @Nullable List textFormats; private PowerpackWidgetQueryTableDefinitionRequest() {} /** @@ -180,6 +186,13 @@ public Optional rumQuery() { public Optional securityQuery() { return Optional.ofNullable(this.securityQuery); } + /** + * @return Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + * + */ + public List textFormats() { + return this.textFormats == null ? List.of() : this.textFormats; + } public static Builder builder() { return new Builder(); @@ -205,6 +218,7 @@ public static final class Builder { private @Nullable List queries; private @Nullable PowerpackWidgetQueryTableDefinitionRequestRumQuery rumQuery; private @Nullable PowerpackWidgetQueryTableDefinitionRequestSecurityQuery securityQuery; + private @Nullable List textFormats; public Builder() {} public Builder(PowerpackWidgetQueryTableDefinitionRequest defaults) { Objects.requireNonNull(defaults); @@ -223,6 +237,7 @@ public Builder(PowerpackWidgetQueryTableDefinitionRequest defaults) { this.queries = defaults.queries; this.rumQuery = defaults.rumQuery; this.securityQuery = defaults.securityQuery; + this.textFormats = defaults.textFormats; } @CustomType.Setter @@ -327,6 +342,15 @@ public Builder securityQuery(@Nullable PowerpackWidgetQueryTableDefinitionReques this.securityQuery = securityQuery; return this; } + @CustomType.Setter + public Builder textFormats(@Nullable List textFormats) { + + this.textFormats = textFormats; + return this; + } + public Builder textFormats(PowerpackWidgetQueryTableDefinitionRequestTextFormat... textFormats) { + return textFormats(List.of(textFormats)); + } public PowerpackWidgetQueryTableDefinitionRequest build() { final var _resultValue = new PowerpackWidgetQueryTableDefinitionRequest(); _resultValue.aggregator = aggregator; @@ -344,6 +368,7 @@ public PowerpackWidgetQueryTableDefinitionRequest build() { _resultValue.queries = queries; _resultValue.rumQuery = rumQuery; _resultValue.securityQuery = securityQuery; + _resultValue.textFormats = textFormats; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormat.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormat.java new file mode 100644 index 000000000..0723d2ce2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormat.java @@ -0,0 +1,60 @@ +// *** 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.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class PowerpackWidgetQueryTableDefinitionRequestTextFormat { + /** + * @return The text format to apply to the items in a table widget column. + * + */ + private @Nullable List textFormats; + + private PowerpackWidgetQueryTableDefinitionRequestTextFormat() {} + /** + * @return The text format to apply to the items in a table widget column. + * + */ + public List textFormats() { + return this.textFormats == null ? List.of() : this.textFormats; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormat defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List textFormats; + public Builder() {} + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormat defaults) { + Objects.requireNonNull(defaults); + this.textFormats = defaults.textFormats; + } + + @CustomType.Setter + public Builder textFormats(@Nullable List textFormats) { + + this.textFormats = textFormats; + return this; + } + public Builder textFormats(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat... textFormats) { + return textFormats(List.of(textFormats)); + } + public PowerpackWidgetQueryTableDefinitionRequestTextFormat build() { + final var _resultValue = new PowerpackWidgetQueryTableDefinitionRequestTextFormat(); + _resultValue.textFormats = textFormats; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.java new file mode 100644 index 000000000..6634b5bf6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.java @@ -0,0 +1,146 @@ +// *** 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.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch; +import com.pulumi.datadog.outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace; +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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat { + /** + * @return The custom color palette to apply to the background. + * + */ + private @Nullable String customBgColor; + /** + * @return The custom color palette to apply to the foreground text. + * + */ + private @Nullable String customFgColor; + /** + * @return Match rule for the table widget text format. + * + */ + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match; + /** + * @return The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + private @Nullable String palette; + /** + * @return Match rule for the table widget text format. + * + */ + private @Nullable PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace replace; + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat() {} + /** + * @return The custom color palette to apply to the background. + * + */ + public Optional customBgColor() { + return Optional.ofNullable(this.customBgColor); + } + /** + * @return The custom color palette to apply to the foreground text. + * + */ + public Optional customFgColor() { + return Optional.ofNullable(this.customFgColor); + } + /** + * @return Match rule for the table widget text format. + * + */ + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match() { + return this.match; + } + /** + * @return The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + * + */ + public Optional palette() { + return Optional.ofNullable(this.palette); + } + /** + * @return Match rule for the table widget text format. + * + */ + public Optional replace() { + return Optional.ofNullable(this.replace); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String customBgColor; + private @Nullable String customFgColor; + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match; + private @Nullable String palette; + private @Nullable PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace replace; + public Builder() {} + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat defaults) { + Objects.requireNonNull(defaults); + this.customBgColor = defaults.customBgColor; + this.customFgColor = defaults.customFgColor; + this.match = defaults.match; + this.palette = defaults.palette; + this.replace = defaults.replace; + } + + @CustomType.Setter + public Builder customBgColor(@Nullable String customBgColor) { + + this.customBgColor = customBgColor; + return this; + } + @CustomType.Setter + public Builder customFgColor(@Nullable String customFgColor) { + + this.customFgColor = customFgColor; + return this; + } + @CustomType.Setter + public Builder match(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch match) { + if (match == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat", "match"); + } + this.match = match; + return this; + } + @CustomType.Setter + public Builder palette(@Nullable String palette) { + + this.palette = palette; + return this; + } + @CustomType.Setter + public Builder replace(@Nullable PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace replace) { + + this.replace = replace; + return this; + } + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat build() { + final var _resultValue = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat(); + _resultValue.customBgColor = customBgColor; + _resultValue.customFgColor = customFgColor; + _resultValue.match = match; + _resultValue.palette = palette; + _resultValue.replace = replace; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.java new file mode 100644 index 000000000..b0afaa2fc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch.java @@ -0,0 +1,81 @@ +// *** 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; + +@CustomType +public final class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + /** + * @return Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + private String type; + /** + * @return Table Widget Match String. + * + */ + private String value; + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch() {} + /** + * @return Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + * + */ + public String type() { + return this.type; + } + /** + * @return Table Widget Match String. + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + private String value; + public Builder() {} + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch", "value"); + } + this.value = value; + return this; + } + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch build() { + final var _resultValue = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch(); + _resultValue.type = type; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.java new file mode 100644 index 000000000..ae98f84ad --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.java @@ -0,0 +1,104 @@ +// *** 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 PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + /** + * @return Text that will be replaced. Must be used with type `substring`. + * + */ + private @Nullable String substring; + /** + * @return Table widget text format replace all type. + * + */ + private String type; + /** + * @return Table Widget Match String. + * + */ + private String with; + + private PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace() {} + /** + * @return Text that will be replaced. Must be used with type `substring`. + * + */ + public Optional substring() { + return Optional.ofNullable(this.substring); + } + /** + * @return Table widget text format replace all type. + * + */ + public String type() { + return this.type; + } + /** + * @return Table Widget Match String. + * + */ + public String with() { + return this.with; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String substring; + private String type; + private String with; + public Builder() {} + public Builder(PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace defaults) { + Objects.requireNonNull(defaults); + this.substring = defaults.substring; + this.type = defaults.type; + this.with = defaults.with; + } + + @CustomType.Setter + public Builder substring(@Nullable String substring) { + + this.substring = substring; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder with(String with) { + if (with == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace", "with"); + } + this.with = with; + return this; + } + public PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace build() { + final var _resultValue = new PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace(); + _resultValue.substring = substring; + _resultValue.type = type; + _resultValue.with = with; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinition.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinition.java index b431c383b..4b6d3ce8b 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinition.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinition.java @@ -6,6 +6,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.datadog.outputs.PowerpackWidgetToplistDefinitionCustomLink; import com.pulumi.datadog.outputs.PowerpackWidgetToplistDefinitionRequest; +import com.pulumi.datadog.outputs.PowerpackWidgetToplistDefinitionStyle; import java.lang.String; import java.util.List; import java.util.Objects; @@ -29,6 +30,11 @@ public final class PowerpackWidgetToplistDefinition { * */ private @Nullable List requests; + /** + * @return The style of the widget + * + */ + private @Nullable List styles; /** * @return The title of the widget. * @@ -67,6 +73,13 @@ public Optional liveSpan() { public List requests() { return this.requests == null ? List.of() : this.requests; } + /** + * @return The style of the widget + * + */ + public List styles() { + return this.styles == null ? List.of() : this.styles; + } /** * @return The title of the widget. * @@ -101,6 +114,7 @@ public static final class Builder { private @Nullable List customLinks; private @Nullable String liveSpan; private @Nullable List requests; + private @Nullable List styles; private @Nullable String title; private @Nullable String titleAlign; private @Nullable String titleSize; @@ -110,6 +124,7 @@ public Builder(PowerpackWidgetToplistDefinition defaults) { this.customLinks = defaults.customLinks; this.liveSpan = defaults.liveSpan; this.requests = defaults.requests; + this.styles = defaults.styles; this.title = defaults.title; this.titleAlign = defaults.titleAlign; this.titleSize = defaults.titleSize; @@ -140,6 +155,15 @@ public Builder requests(PowerpackWidgetToplistDefinitionRequest... requests) { return requests(List.of(requests)); } @CustomType.Setter + public Builder styles(@Nullable List styles) { + + this.styles = styles; + return this; + } + public Builder styles(PowerpackWidgetToplistDefinitionStyle... styles) { + return styles(List.of(styles)); + } + @CustomType.Setter public Builder title(@Nullable String title) { this.title = title; @@ -162,6 +186,7 @@ public PowerpackWidgetToplistDefinition build() { _resultValue.customLinks = customLinks; _resultValue.liveSpan = liveSpan; _resultValue.requests = requests; + _resultValue.styles = styles; _resultValue.title = title; _resultValue.titleAlign = titleAlign; _resultValue.titleSize = titleSize; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinitionStyle.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinitionStyle.java new file mode 100644 index 000000000..3449dbb99 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinitionStyle.java @@ -0,0 +1,83 @@ +// *** 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.PowerpackWidgetToplistDefinitionStyleDisplay; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PowerpackWidgetToplistDefinitionStyle { + /** + * @return The display mode for the widget. + * + */ + private @Nullable List displays; + /** + * @return The color palette for the widget. + * + */ + private @Nullable String palette; + + private PowerpackWidgetToplistDefinitionStyle() {} + /** + * @return The display mode for the widget. + * + */ + public List displays() { + return this.displays == null ? List.of() : this.displays; + } + /** + * @return The color palette for the widget. + * + */ + public Optional palette() { + return Optional.ofNullable(this.palette); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetToplistDefinitionStyle defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List displays; + private @Nullable String palette; + public Builder() {} + public Builder(PowerpackWidgetToplistDefinitionStyle defaults) { + Objects.requireNonNull(defaults); + this.displays = defaults.displays; + this.palette = defaults.palette; + } + + @CustomType.Setter + public Builder displays(@Nullable List displays) { + + this.displays = displays; + return this; + } + public Builder displays(PowerpackWidgetToplistDefinitionStyleDisplay... displays) { + return displays(List.of(displays)); + } + @CustomType.Setter + public Builder palette(@Nullable String palette) { + + this.palette = palette; + return this; + } + public PowerpackWidgetToplistDefinitionStyle build() { + final var _resultValue = new PowerpackWidgetToplistDefinitionStyle(); + _resultValue.displays = displays; + _resultValue.palette = palette; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinitionStyleDisplay.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinitionStyleDisplay.java new file mode 100644 index 000000000..4a88a84d1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/PowerpackWidgetToplistDefinitionStyleDisplay.java @@ -0,0 +1,58 @@ +// *** 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; + +@CustomType +public final class PowerpackWidgetToplistDefinitionStyleDisplay { + /** + * @return The display type for the widget. + * + */ + private String type; + + private PowerpackWidgetToplistDefinitionStyleDisplay() {} + /** + * @return The display type for the widget. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PowerpackWidgetToplistDefinitionStyleDisplay defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + public Builder() {} + public Builder(PowerpackWidgetToplistDefinitionStyleDisplay defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("PowerpackWidgetToplistDefinitionStyleDisplay", "type"); + } + this.type = type; + return this; + } + public PowerpackWidgetToplistDefinitionStyleDisplay build() { + final var _resultValue = new PowerpackWidgetToplistDefinitionStyleDisplay(); + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestApiStepAssertion.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestApiStepAssertion.java index a83454a91..56bb28a83 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestApiStepAssertion.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestApiStepAssertion.java @@ -15,11 +15,16 @@ @CustomType public final class SyntheticsTestApiStepAssertion { + /** + * @return If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + private @Nullable String code; /** * @return Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - private String operator; + private @Nullable String operator; /** * @return If assertion type is `header`, this is the header name. * @@ -51,18 +56,25 @@ public final class SyntheticsTestApiStepAssertion { */ private @Nullable String timingsScope; /** - * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ private String type; private SyntheticsTestApiStepAssertion() {} + /** + * @return If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + public Optional code() { + return Optional.ofNullable(this.code); + } /** * @return Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - public String operator() { - return this.operator; + public Optional operator() { + return Optional.ofNullable(this.operator); } /** * @return If assertion type is `header`, this is the header name. @@ -107,7 +119,7 @@ public Optional timingsScope() { return Optional.ofNullable(this.timingsScope); } /** - * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ public String type() { @@ -123,7 +135,8 @@ public static Builder builder(SyntheticsTestApiStepAssertion defaults) { } @CustomType.Builder public static final class Builder { - private String operator; + private @Nullable String code; + private @Nullable String operator; private @Nullable String property; private @Nullable String target; private @Nullable SyntheticsTestApiStepAssertionTargetjsonpath targetjsonpath; @@ -134,6 +147,7 @@ public static final class Builder { public Builder() {} public Builder(SyntheticsTestApiStepAssertion defaults) { Objects.requireNonNull(defaults); + this.code = defaults.code; this.operator = defaults.operator; this.property = defaults.property; this.target = defaults.target; @@ -145,10 +159,14 @@ public Builder(SyntheticsTestApiStepAssertion defaults) { } @CustomType.Setter - public Builder operator(String operator) { - if (operator == null) { - throw new MissingRequiredPropertyException("SyntheticsTestApiStepAssertion", "operator"); - } + public Builder code(@Nullable String code) { + + this.code = code; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + this.operator = operator; return this; } @@ -198,6 +216,7 @@ public Builder type(String type) { } public SyntheticsTestApiStepAssertion build() { final var _resultValue = new SyntheticsTestApiStepAssertion(); + _resultValue.code = code; _resultValue.operator = operator; _resultValue.property = property; _resultValue.target = target; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestAssertion.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestAssertion.java index 0e0f4d895..5390b8b6c 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestAssertion.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestAssertion.java @@ -15,11 +15,16 @@ @CustomType public final class SyntheticsTestAssertion { + /** + * @return If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + private @Nullable String code; /** * @return Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - private String operator; + private @Nullable String operator; /** * @return If assertion type is `header`, this is the header name. * @@ -51,18 +56,25 @@ public final class SyntheticsTestAssertion { */ private @Nullable String timingsScope; /** - * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ private String type; private SyntheticsTestAssertion() {} + /** + * @return If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + * + */ + public Optional code() { + return Optional.ofNullable(this.code); + } /** * @return Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). * */ - public String operator() { - return this.operator; + public Optional operator() { + return Optional.ofNullable(this.operator); } /** * @return If assertion type is `header`, this is the header name. @@ -107,7 +119,7 @@ public Optional timingsScope() { return Optional.ofNullable(this.timingsScope); } /** - * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * @return Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. * */ public String type() { @@ -123,7 +135,8 @@ public static Builder builder(SyntheticsTestAssertion defaults) { } @CustomType.Builder public static final class Builder { - private String operator; + private @Nullable String code; + private @Nullable String operator; private @Nullable String property; private @Nullable String target; private @Nullable SyntheticsTestAssertionTargetjsonpath targetjsonpath; @@ -134,6 +147,7 @@ public static final class Builder { public Builder() {} public Builder(SyntheticsTestAssertion defaults) { Objects.requireNonNull(defaults); + this.code = defaults.code; this.operator = defaults.operator; this.property = defaults.property; this.target = defaults.target; @@ -145,10 +159,14 @@ public Builder(SyntheticsTestAssertion defaults) { } @CustomType.Setter - public Builder operator(String operator) { - if (operator == null) { - throw new MissingRequiredPropertyException("SyntheticsTestAssertion", "operator"); - } + public Builder code(@Nullable String code) { + + this.code = code; + return this; + } + @CustomType.Setter + public Builder operator(@Nullable String operator) { + this.operator = operator; return this; } @@ -198,6 +216,7 @@ public Builder type(String type) { } public SyntheticsTestAssertion build() { final var _resultValue = new SyntheticsTestAssertion(); + _resultValue.code = code; _resultValue.operator = operator; _resultValue.property = property; _resultValue.target = target; diff --git a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestConfigVariable.java b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestConfigVariable.java index 5b9ede90e..23e0f8159 100644 --- a/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestConfigVariable.java +++ b/sdk/java/src/main/java/com/pulumi/datadog/outputs/SyntheticsTestConfigVariable.java @@ -31,7 +31,7 @@ public final class SyntheticsTestConfigVariable { */ private @Nullable Boolean secure; /** - * @return Type of test configuration variable. Valid values are `global`, `text`. + * @return Type of test configuration variable. Valid values are `global`, `text`, `email`. * */ private String type; @@ -65,7 +65,7 @@ public Optional secure() { return Optional.ofNullable(this.secure); } /** - * @return Type of test configuration variable. Valid values are `global`, `text`. + * @return Type of test configuration variable. Valid values are `global`, `text`, `email`. * */ public String type() { diff --git a/sdk/nodejs/logsIndex.ts b/sdk/nodejs/logsIndex.ts index c89a66562..aed11ecd8 100644 --- a/sdk/nodejs/logsIndex.ts +++ b/sdk/nodejs/logsIndex.ts @@ -23,6 +23,7 @@ import * as utilities from "./utilities"; * }, * dailyLimitWarningThresholdPercentage: 50, * retentionDays: 7, + * flexRetentionDays: 180, * filters: [{ * query: "*", * }], @@ -105,12 +106,16 @@ export class LogsIndex extends pulumi.CustomResource { * Logs filter */ public readonly filters!: pulumi.Output; + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + */ + public readonly flexRetentionDays!: pulumi.Output; /** * The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. */ public readonly name!: pulumi.Output; /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. */ public readonly retentionDays!: pulumi.Output; @@ -133,6 +138,7 @@ export class LogsIndex extends pulumi.CustomResource { resourceInputs["disableDailyLimit"] = state ? state.disableDailyLimit : undefined; resourceInputs["exclusionFilters"] = state ? state.exclusionFilters : undefined; resourceInputs["filters"] = state ? state.filters : undefined; + resourceInputs["flexRetentionDays"] = state ? state.flexRetentionDays : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["retentionDays"] = state ? state.retentionDays : undefined; } else { @@ -149,6 +155,7 @@ export class LogsIndex extends pulumi.CustomResource { resourceInputs["disableDailyLimit"] = args ? args.disableDailyLimit : undefined; resourceInputs["exclusionFilters"] = args ? args.exclusionFilters : undefined; resourceInputs["filters"] = args ? args.filters : undefined; + resourceInputs["flexRetentionDays"] = args ? args.flexRetentionDays : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["retentionDays"] = args ? args.retentionDays : undefined; } @@ -185,12 +192,16 @@ export interface LogsIndexState { * Logs filter */ filters?: pulumi.Input[]>; + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + */ + flexRetentionDays?: pulumi.Input; /** * The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. */ name?: pulumi.Input; /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. */ retentionDays?: pulumi.Input; } @@ -223,12 +234,16 @@ export interface LogsIndexArgs { * Logs filter */ filters: pulumi.Input[]>; + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + */ + flexRetentionDays?: pulumi.Input; /** * The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. */ name: pulumi.Input; /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. */ retentionDays?: pulumi.Input; } diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 6447499a8..b14e1358a 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -3275,6 +3275,10 @@ export interface DashboardWidgetQueryTableDefinitionRequest { * The query to use for this widget. */ securityQuery?: pulumi.Input; + /** + * Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + */ + textFormats?: pulumi.Input[]>; } export interface DashboardWidgetQueryTableDefinitionRequestApmStatsQuery { @@ -3809,6 +3813,62 @@ export interface DashboardWidgetQueryTableDefinitionRequestQuerySloQuery { sloQueryType?: pulumi.Input; } +export interface DashboardWidgetQueryTableDefinitionRequestTextFormat { + /** + * The text format to apply to the items in a table widget column. + */ + textFormats?: pulumi.Input[]>; +} + +export interface DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat { + /** + * The custom color palette to apply to the background. + */ + customBgColor?: pulumi.Input; + /** + * The custom color palette to apply to the foreground text. + */ + customFgColor?: pulumi.Input; + /** + * Match rule for the table widget text format. + */ + match: pulumi.Input; + /** + * The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + */ + palette?: pulumi.Input; + /** + * Match rule for the table widget text format. + */ + replace?: pulumi.Input; +} + +export interface DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + /** + * Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + */ + type: pulumi.Input; + /** + * Table Widget Match String. + */ + value: pulumi.Input; +} + +export interface DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + /** + * Text that will be replaced. Must be used with type `substring`. + */ + substring?: pulumi.Input; + /** + * Table widget text format replace all type. + */ + type: pulumi.Input; + /** + * Table Widget Match String. + */ + with: pulumi.Input; +} + export interface DashboardWidgetQueryValueDefinition { /** * A Boolean indicating whether to automatically scale the tile. @@ -7176,6 +7236,10 @@ export interface DashboardWidgetToplistDefinition { * 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?: pulumi.Input[]>; + /** + * The style of the widget + */ + styles?: pulumi.Input[]>; /** * The title of the widget. */ @@ -7822,6 +7886,24 @@ export interface DashboardWidgetToplistDefinitionRequestStyle { palette?: pulumi.Input; } +export interface DashboardWidgetToplistDefinitionStyle { + /** + * The display mode for the widget. + */ + displays?: pulumi.Input[]>; + /** + * The color palette for the widget. + */ + palette?: pulumi.Input; +} + +export interface DashboardWidgetToplistDefinitionStyleDisplay { + /** + * The display type for the widget. + */ + type: pulumi.Input; +} + export interface DashboardWidgetTopologyMapDefinition { /** * A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. @@ -14308,6 +14390,10 @@ export interface PowerpackWidgetQueryTableDefinitionRequest { * The query to use for this widget. */ securityQuery?: pulumi.Input; + /** + * Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + */ + textFormats?: pulumi.Input[]>; } export interface PowerpackWidgetQueryTableDefinitionRequestApmQuery { @@ -15174,6 +15260,62 @@ export interface PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCom interval?: pulumi.Input; } +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormat { + /** + * The text format to apply to the items in a table widget column. + */ + textFormats?: pulumi.Input[]>; +} + +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat { + /** + * The custom color palette to apply to the background. + */ + customBgColor?: pulumi.Input; + /** + * The custom color palette to apply to the foreground text. + */ + customFgColor?: pulumi.Input; + /** + * Match rule for the table widget text format. + */ + match: pulumi.Input; + /** + * The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + */ + palette?: pulumi.Input; + /** + * Match rule for the table widget text format. + */ + replace?: pulumi.Input; +} + +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + /** + * Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + */ + type: pulumi.Input; + /** + * Table Widget Match String. + */ + value: pulumi.Input; +} + +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + /** + * Text that will be replaced. Must be used with type `substring`. + */ + substring?: pulumi.Input; + /** + * Table widget text format replace all type. + */ + type: pulumi.Input; + /** + * Table Widget Match String. + */ + with: pulumi.Input; +} + export interface PowerpackWidgetQueryValueDefinition { /** * A Boolean indicating whether to automatically scale the tile. @@ -19909,6 +20051,10 @@ export interface PowerpackWidgetToplistDefinition { * 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?: pulumi.Input[]>; + /** + * The style of the widget + */ + styles?: pulumi.Input[]>; /** * The title of the widget. */ @@ -20887,6 +21033,24 @@ export interface PowerpackWidgetToplistDefinitionRequestStyle { palette?: pulumi.Input; } +export interface PowerpackWidgetToplistDefinitionStyle { + /** + * The display mode for the widget. + */ + displays?: pulumi.Input[]>; + /** + * The color palette for the widget. + */ + palette?: pulumi.Input; +} + +export interface PowerpackWidgetToplistDefinitionStyleDisplay { + /** + * The display type for the widget. + */ + type: pulumi.Input; +} + export interface PowerpackWidgetTopologyMapDefinition { /** * A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. @@ -22050,10 +22214,14 @@ export interface SyntheticsTestApiStep { } export interface SyntheticsTestApiStepAssertion { + /** + * If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + */ + code?: pulumi.Input; /** * Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). */ - operator: pulumi.Input; + operator?: pulumi.Input; /** * If assertion type is `header`, this is the header name. */ @@ -22079,7 +22247,7 @@ export interface SyntheticsTestApiStepAssertion { */ timingsScope?: pulumi.Input; /** - * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. */ type: pulumi.Input; } @@ -22402,10 +22570,14 @@ export interface SyntheticsTestApiStepRetry { } export interface SyntheticsTestAssertion { + /** + * If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + */ + code?: pulumi.Input; /** * Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). */ - operator: pulumi.Input; + operator?: pulumi.Input; /** * If assertion type is `header`, this is the header name. */ @@ -22431,7 +22603,7 @@ export interface SyntheticsTestAssertion { */ timingsScope?: pulumi.Input; /** - * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. */ type: pulumi.Input; } @@ -22665,7 +22837,7 @@ export interface SyntheticsTestConfigVariable { */ secure?: pulumi.Input; /** - * Type of test configuration variable. Valid values are `global`, `text`. + * Type of test configuration variable. Valid values are `global`, `text`, `email`. */ type: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index f60972ef6..24d52a91b 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -3275,6 +3275,10 @@ export interface DashboardWidgetQueryTableDefinitionRequest { * The query to use for this widget. */ securityQuery?: outputs.DashboardWidgetSecurityQuery; + /** + * Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + */ + textFormats?: outputs.DashboardWidgetQueryTableDefinitionRequestTextFormat[]; } export interface DashboardWidgetQueryTableDefinitionRequestApmStatsQuery { @@ -3809,6 +3813,62 @@ export interface DashboardWidgetQueryTableDefinitionRequestQuerySloQuery { sloQueryType?: string; } +export interface DashboardWidgetQueryTableDefinitionRequestTextFormat { + /** + * The text format to apply to the items in a table widget column. + */ + textFormats?: outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat[]; +} + +export interface DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat { + /** + * The custom color palette to apply to the background. + */ + customBgColor?: string; + /** + * The custom color palette to apply to the foreground text. + */ + customFgColor?: string; + /** + * Match rule for the table widget text format. + */ + match: outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch; + /** + * The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + */ + palette?: string; + /** + * Match rule for the table widget text format. + */ + replace?: outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace; +} + +export interface DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + /** + * Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + */ + type: string; + /** + * Table Widget Match String. + */ + value: string; +} + +export interface DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + /** + * Text that will be replaced. Must be used with type `substring`. + */ + substring?: string; + /** + * Table widget text format replace all type. + */ + type: string; + /** + * Table Widget Match String. + */ + with: string; +} + export interface DashboardWidgetQueryValueDefinition { /** * A Boolean indicating whether to automatically scale the tile. @@ -7176,6 +7236,10 @@ export interface DashboardWidgetToplistDefinition { * 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?: outputs.DashboardWidgetToplistDefinitionRequest[]; + /** + * The style of the widget + */ + styles?: outputs.DashboardWidgetToplistDefinitionStyle[]; /** * The title of the widget. */ @@ -7822,6 +7886,24 @@ export interface DashboardWidgetToplistDefinitionRequestStyle { palette?: string; } +export interface DashboardWidgetToplistDefinitionStyle { + /** + * The display mode for the widget. + */ + displays?: outputs.DashboardWidgetToplistDefinitionStyleDisplay[]; + /** + * The color palette for the widget. + */ + palette?: string; +} + +export interface DashboardWidgetToplistDefinitionStyleDisplay { + /** + * The display type for the widget. + */ + type: string; +} + export interface DashboardWidgetTopologyMapDefinition { /** * A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. @@ -8575,12 +8657,16 @@ export interface GetLogsIndexesLogsIndex { * Logs filter */ filters: outputs.GetLogsIndexesLogsIndexFilter[]; + /** + * The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + */ + flexRetentionDays: number; /** * The name of the index. */ name: string; /** - * The number of days before logs are deleted from this index. + * The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. */ retentionDays: number; } @@ -14963,6 +15049,10 @@ export interface PowerpackWidgetQueryTableDefinitionRequest { * The query to use for this widget. */ securityQuery?: outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery; + /** + * Text formats define how to format text in table widget content. Multiple `textFormats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + */ + textFormats?: outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormat[]; } export interface PowerpackWidgetQueryTableDefinitionRequestApmQuery { @@ -15829,6 +15919,62 @@ export interface PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCom interval?: number; } +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormat { + /** + * The text format to apply to the items in a table widget column. + */ + textFormats?: outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat[]; +} + +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat { + /** + * The custom color palette to apply to the background. + */ + customBgColor?: string; + /** + * The custom color palette to apply to the foreground text. + */ + customFgColor?: string; + /** + * Match rule for the table widget text format. + */ + match: outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch; + /** + * The color palette to apply. Valid values are `whiteOnRed`, `whiteOnYellow`, `whiteOnGreen`, `blackOnLightRed`, `blackOnLightYellow`, `blackOnLightGreen`, `redOnWhite`, `yellowOnWhite`, `greenOnWhite`, `customBg`, `customText`. + */ + palette?: string; + /** + * Match rule for the table widget text format. + */ + replace?: outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace; +} + +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch { + /** + * Match or compare option. Valid values are `is`, `isNot`, `contains`, `doesNotContain`, `startsWith`, `endsWith`. + */ + type: string; + /** + * Table Widget Match String. + */ + value: string; +} + +export interface PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace { + /** + * Text that will be replaced. Must be used with type `substring`. + */ + substring?: string; + /** + * Table widget text format replace all type. + */ + type: string; + /** + * Table Widget Match String. + */ + with: string; +} + export interface PowerpackWidgetQueryValueDefinition { /** * A Boolean indicating whether to automatically scale the tile. @@ -20564,6 +20710,10 @@ export interface PowerpackWidgetToplistDefinition { * 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?: outputs.PowerpackWidgetToplistDefinitionRequest[]; + /** + * The style of the widget + */ + styles?: outputs.PowerpackWidgetToplistDefinitionStyle[]; /** * The title of the widget. */ @@ -21542,6 +21692,24 @@ export interface PowerpackWidgetToplistDefinitionRequestStyle { palette?: string; } +export interface PowerpackWidgetToplistDefinitionStyle { + /** + * The display mode for the widget. + */ + displays?: outputs.PowerpackWidgetToplistDefinitionStyleDisplay[]; + /** + * The color palette for the widget. + */ + palette?: string; +} + +export interface PowerpackWidgetToplistDefinitionStyleDisplay { + /** + * The display type for the widget. + */ + type: string; +} + export interface PowerpackWidgetTopologyMapDefinition { /** * A nested block describing a custom link. Multiple `customLink` blocks are allowed using the structure below. @@ -22698,10 +22866,14 @@ export interface SyntheticsTestApiStep { } export interface SyntheticsTestApiStepAssertion { + /** + * If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + */ + code?: string; /** * Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). */ - operator: string; + operator?: string; /** * If assertion type is `header`, this is the header name. */ @@ -22727,7 +22899,7 @@ export interface SyntheticsTestApiStepAssertion { */ timingsScope?: string; /** - * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. */ type: string; } @@ -23050,10 +23222,14 @@ export interface SyntheticsTestApiStepRetry { } export interface SyntheticsTestAssertion { + /** + * If assertion type is `javascript`, this is the JavaScript code that performs the assertions. + */ + code?: string; /** * Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). */ - operator: string; + operator?: string; /** * If assertion type is `header`, this is the header name. */ @@ -23079,7 +23255,7 @@ export interface SyntheticsTestAssertion { */ timingsScope?: string; /** - * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + * Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. */ type: string; } @@ -23313,7 +23489,7 @@ export interface SyntheticsTestConfigVariable { */ secure?: boolean; /** - * Type of test configuration variable. Valid values are `global`, `text`. + * Type of test configuration variable. Valid values are `global`, `text`, `email`. */ type: string; } diff --git a/sdk/python/pulumi_datadog/_inputs.py b/sdk/python/pulumi_datadog/_inputs.py index a4bcb506e..7d8d2d41d 100644 --- a/sdk/python/pulumi_datadog/_inputs.py +++ b/sdk/python/pulumi_datadog/_inputs.py @@ -160,6 +160,10 @@ 'DashboardWidgetQueryTableDefinitionRequestQueryMetricQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetQueryTableDefinitionRequestQuerySloQueryArgs', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatArgs', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs', 'DashboardWidgetQueryValueDefinitionArgs', 'DashboardWidgetQueryValueDefinitionCustomLinkArgs', 'DashboardWidgetQueryValueDefinitionRequestArgs', @@ -335,6 +339,8 @@ 'DashboardWidgetToplistDefinitionRequestQueryProcessQueryArgs', 'DashboardWidgetToplistDefinitionRequestQuerySloQueryArgs', 'DashboardWidgetToplistDefinitionRequestStyleArgs', + 'DashboardWidgetToplistDefinitionStyleArgs', + 'DashboardWidgetToplistDefinitionStyleDisplayArgs', 'DashboardWidgetTopologyMapDefinitionArgs', 'DashboardWidgetTopologyMapDefinitionCustomLinkArgs', 'DashboardWidgetTopologyMapDefinitionRequestArgs', @@ -692,6 +698,10 @@ 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupByArgs', 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiComputeArgs', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs', 'PowerpackWidgetQueryValueDefinitionArgs', 'PowerpackWidgetQueryValueDefinitionCustomLinkArgs', 'PowerpackWidgetQueryValueDefinitionRequestArgs', @@ -969,6 +979,8 @@ 'PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQueryArgs', 'PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiComputeArgs', 'PowerpackWidgetToplistDefinitionRequestStyleArgs', + 'PowerpackWidgetToplistDefinitionStyleArgs', + 'PowerpackWidgetToplistDefinitionStyleDisplayArgs', 'PowerpackWidgetTopologyMapDefinitionArgs', 'PowerpackWidgetTopologyMapDefinitionCustomLinkArgs', 'PowerpackWidgetTopologyMapDefinitionRequestArgs', @@ -13198,7 +13210,8 @@ def __init__(__self__, *, q: Optional[pulumi.Input[str]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['DashboardWidgetRumQueryArgs']] = None, - security_query: Optional[pulumi.Input['DashboardWidgetSecurityQueryArgs']] = None): + security_query: Optional[pulumi.Input['DashboardWidgetSecurityQueryArgs']] = None, + text_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatArgs']]]] = None): """ :param pulumi.Input[str] aggregator: The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. :param pulumi.Input[str] alias: The alias for the column name (defaults to metric name). @@ -13212,6 +13225,7 @@ def __init__(__self__, *, :param pulumi.Input[str] q: The metric query to use for this widget. :param pulumi.Input['DashboardWidgetRumQueryArgs'] rum_query: The query to use for this widget. :param pulumi.Input['DashboardWidgetSecurityQueryArgs'] security_query: The query to use for this widget. + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatArgs']]] text_formats: Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. """ if aggregator is not None: pulumi.set(__self__, "aggregator", aggregator) @@ -13243,6 +13257,8 @@ def __init__(__self__, *, pulumi.set(__self__, "rum_query", rum_query) if security_query is not None: pulumi.set(__self__, "security_query", security_query) + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) @property @pulumi.getter @@ -13415,6 +13431,18 @@ def security_query(self) -> Optional[pulumi.Input['DashboardWidgetSecurityQueryA def security_query(self, value: Optional[pulumi.Input['DashboardWidgetSecurityQueryArgs']]): pulumi.set(self, "security_query", value) + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatArgs']]]]: + """ + Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + """ + return pulumi.get(self, "text_formats") + + @text_formats.setter + def text_formats(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatArgs']]]]): + pulumi.set(self, "text_formats", value) + @pulumi.input_type class DashboardWidgetQueryTableDefinitionRequestApmStatsQueryArgs: @@ -15400,6 +15428,205 @@ def slo_query_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "slo_query_type", value) +@pulumi.input_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatArgs: + def __init__(__self__, *, + text_formats: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]] text_formats: The text format to apply to the items in a table widget column. + """ + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) + + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]]]: + """ + The text format to apply to the items in a table widget column. + """ + return pulumi.get(self, "text_formats") + + @text_formats.setter + def text_formats(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]]]): + pulumi.set(self, "text_formats", value) + + +@pulumi.input_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs: + def __init__(__self__, *, + match: pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs'], + custom_bg_color: Optional[pulumi.Input[str]] = None, + custom_fg_color: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + replace: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs']] = None): + """ + :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs'] match: Match rule for the table widget text format. + :param pulumi.Input[str] custom_bg_color: The custom color palette to apply to the background. + :param pulumi.Input[str] custom_fg_color: The custom color palette to apply to the foreground text. + :param pulumi.Input[str] palette: The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + :param pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs'] replace: Match rule for the table widget text format. + """ + pulumi.set(__self__, "match", match) + if custom_bg_color is not None: + pulumi.set(__self__, "custom_bg_color", custom_bg_color) + if custom_fg_color is not None: + pulumi.set(__self__, "custom_fg_color", custom_fg_color) + if palette is not None: + pulumi.set(__self__, "palette", palette) + if replace is not None: + pulumi.set(__self__, "replace", replace) + + @property + @pulumi.getter + def match(self) -> pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs']: + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "match") + + @match.setter + def match(self, value: pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs']): + pulumi.set(self, "match", value) + + @property + @pulumi.getter(name="customBgColor") + def custom_bg_color(self) -> Optional[pulumi.Input[str]]: + """ + The custom color palette to apply to the background. + """ + return pulumi.get(self, "custom_bg_color") + + @custom_bg_color.setter + def custom_bg_color(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_bg_color", value) + + @property + @pulumi.getter(name="customFgColor") + def custom_fg_color(self) -> Optional[pulumi.Input[str]]: + """ + The custom color palette to apply to the foreground text. + """ + return pulumi.get(self, "custom_fg_color") + + @custom_fg_color.setter + def custom_fg_color(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_fg_color", value) + + @property + @pulumi.getter + def palette(self) -> Optional[pulumi.Input[str]]: + """ + The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + """ + return pulumi.get(self, "palette") + + @palette.setter + def palette(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "palette", value) + + @property + @pulumi.getter + def replace(self) -> Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs']]: + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "replace") + + @replace.setter + def replace(self, value: Optional[pulumi.Input['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs']]): + pulumi.set(self, "replace", value) + + +@pulumi.input_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] type: Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + :param pulumi.Input[str] value: Table Widget Match String. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + Table Widget Match String. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + with_: pulumi.Input[str], + substring: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] type: Table widget text format replace all type. + :param pulumi.Input[str] with_: Table Widget Match String. + :param pulumi.Input[str] substring: Text that will be replaced. Must be used with type `substring`. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "with_", with_) + if substring is not None: + pulumi.set(__self__, "substring", substring) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Table widget text format replace all type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="with") + def with_(self) -> pulumi.Input[str]: + """ + Table Widget Match String. + """ + return pulumi.get(self, "with_") + + @with_.setter + def with_(self, value: pulumi.Input[str]): + pulumi.set(self, "with_", value) + + @property + @pulumi.getter + def substring(self) -> Optional[pulumi.Input[str]]: + """ + Text that will be replaced. Must be used with type `substring`. + """ + return pulumi.get(self, "substring") + + @substring.setter + def substring(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "substring", value) + + @pulumi.input_type class DashboardWidgetQueryValueDefinitionArgs: def __init__(__self__, *, @@ -27949,6 +28176,7 @@ def __init__(__self__, *, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionCustomLinkArgs']]]] = None, live_span: Optional[pulumi.Input[str]] = None, requests: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestArgs']]]] = None, + styles: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None): @@ -27956,6 +28184,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionCustomLinkArgs']]] custom_links: A nested block describing a custom link. Multiple `custom_link` blocks are allowed using the structure below. :param pulumi.Input[str] live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestArgs']]] requests: 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`, `apm_query`, `log_query`, `rum_query`, `security_query` or `process_query` is required within the `request` block). + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleArgs']]] styles: The style of the widget :param pulumi.Input[str] title: The title of the widget. :param pulumi.Input[str] title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param pulumi.Input[str] title_size: The size of the widget's title (defaults to 16). @@ -27966,6 +28195,8 @@ def __init__(__self__, *, pulumi.set(__self__, "live_span", live_span) if requests is not None: pulumi.set(__self__, "requests", requests) + if styles is not None: + pulumi.set(__self__, "styles", styles) if title is not None: pulumi.set(__self__, "title", title) if title_align is not None: @@ -28009,6 +28240,18 @@ def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidg def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionRequestArgs']]]]): pulumi.set(self, "requests", value) + @property + @pulumi.getter + def styles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleArgs']]]]: + """ + The style of the widget + """ + return pulumi.get(self, "styles") + + @styles.setter + def styles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleArgs']]]]): + pulumi.set(self, "styles", value) + @property @pulumi.getter def title(self) -> Optional[pulumi.Input[str]]: @@ -30417,6 +30660,67 @@ def palette(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "palette", value) +@pulumi.input_type +class DashboardWidgetToplistDefinitionStyleArgs: + def __init__(__self__, *, + displays: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleDisplayArgs']]]] = None, + palette: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleDisplayArgs']]] displays: The display mode for the widget. + :param pulumi.Input[str] palette: The color palette for the widget. + """ + if displays is not None: + pulumi.set(__self__, "displays", displays) + if palette is not None: + pulumi.set(__self__, "palette", palette) + + @property + @pulumi.getter + def displays(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleDisplayArgs']]]]: + """ + The display mode for the widget. + """ + return pulumi.get(self, "displays") + + @displays.setter + def displays(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DashboardWidgetToplistDefinitionStyleDisplayArgs']]]]): + pulumi.set(self, "displays", value) + + @property + @pulumi.getter + def palette(self) -> Optional[pulumi.Input[str]]: + """ + The color palette for the widget. + """ + return pulumi.get(self, "palette") + + @palette.setter + def palette(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "palette", value) + + +@pulumi.input_type +class DashboardWidgetToplistDefinitionStyleDisplayArgs: + def __init__(__self__, *, + type: pulumi.Input[str]): + """ + :param pulumi.Input[str] type: The display type for the widget. + """ + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The display type for the widget. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @pulumi.input_type class DashboardWidgetTopologyMapDefinitionArgs: def __init__(__self__, *, @@ -54320,7 +54624,8 @@ def __init__(__self__, *, q: Optional[pulumi.Input[str]] = None, queries: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestQueryArgs']]]] = None, rum_query: Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs']] = None, - security_query: Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs']] = None): + security_query: Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs']] = None, + text_formats: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs']]]] = None): """ :param pulumi.Input[str] aggregator: The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. :param pulumi.Input[str] alias: The alias for the column name (defaults to metric name). @@ -54334,6 +54639,7 @@ def __init__(__self__, *, :param pulumi.Input[str] q: The metric query to use for this widget. :param pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs'] rum_query: The query to use for this widget. :param pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs'] security_query: The query to use for this widget. + :param pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs']]] text_formats: Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. """ if aggregator is not None: pulumi.set(__self__, "aggregator", aggregator) @@ -54365,6 +54671,8 @@ def __init__(__self__, *, pulumi.set(__self__, "rum_query", rum_query) if security_query is not None: pulumi.set(__self__, "security_query", security_query) + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) @property @pulumi.getter @@ -54537,6 +54845,18 @@ def security_query(self) -> Optional[pulumi.Input['PowerpackWidgetQueryTableDefi def security_query(self, value: Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs']]): pulumi.set(self, "security_query", value) + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs']]]]: + """ + Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + """ + return pulumi.get(self, "text_formats") + + @text_formats.setter + def text_formats(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs']]]]): + pulumi.set(self, "text_formats", value) + @pulumi.input_type class PowerpackWidgetQueryTableDefinitionRequestApmQueryArgs: @@ -57730,6 +58050,205 @@ def interval(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "interval", value) +@pulumi.input_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs: + def __init__(__self__, *, + text_formats: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]] text_formats: The text format to apply to the items in a table widget column. + """ + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) + + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]]]: + """ + The text format to apply to the items in a table widget column. + """ + return pulumi.get(self, "text_formats") + + @text_formats.setter + def text_formats(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs']]]]): + pulumi.set(self, "text_formats", value) + + +@pulumi.input_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs: + def __init__(__self__, *, + match: pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs'], + custom_bg_color: Optional[pulumi.Input[str]] = None, + custom_fg_color: Optional[pulumi.Input[str]] = None, + palette: Optional[pulumi.Input[str]] = None, + replace: Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs']] = None): + """ + :param pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs'] match: Match rule for the table widget text format. + :param pulumi.Input[str] custom_bg_color: The custom color palette to apply to the background. + :param pulumi.Input[str] custom_fg_color: The custom color palette to apply to the foreground text. + :param pulumi.Input[str] palette: The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + :param pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs'] replace: Match rule for the table widget text format. + """ + pulumi.set(__self__, "match", match) + if custom_bg_color is not None: + pulumi.set(__self__, "custom_bg_color", custom_bg_color) + if custom_fg_color is not None: + pulumi.set(__self__, "custom_fg_color", custom_fg_color) + if palette is not None: + pulumi.set(__self__, "palette", palette) + if replace is not None: + pulumi.set(__self__, "replace", replace) + + @property + @pulumi.getter + def match(self) -> pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs']: + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "match") + + @match.setter + def match(self, value: pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs']): + pulumi.set(self, "match", value) + + @property + @pulumi.getter(name="customBgColor") + def custom_bg_color(self) -> Optional[pulumi.Input[str]]: + """ + The custom color palette to apply to the background. + """ + return pulumi.get(self, "custom_bg_color") + + @custom_bg_color.setter + def custom_bg_color(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_bg_color", value) + + @property + @pulumi.getter(name="customFgColor") + def custom_fg_color(self) -> Optional[pulumi.Input[str]]: + """ + The custom color palette to apply to the foreground text. + """ + return pulumi.get(self, "custom_fg_color") + + @custom_fg_color.setter + def custom_fg_color(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "custom_fg_color", value) + + @property + @pulumi.getter + def palette(self) -> Optional[pulumi.Input[str]]: + """ + The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + """ + return pulumi.get(self, "palette") + + @palette.setter + def palette(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "palette", value) + + @property + @pulumi.getter + def replace(self) -> Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs']]: + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "replace") + + @replace.setter + def replace(self, value: Optional[pulumi.Input['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs']]): + pulumi.set(self, "replace", value) + + +@pulumi.input_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + value: pulumi.Input[str]): + """ + :param pulumi.Input[str] type: Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + :param pulumi.Input[str] value: Table Widget Match String. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter + def value(self) -> pulumi.Input[str]: + """ + Table Widget Match String. + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[str]): + pulumi.set(self, "value", value) + + +@pulumi.input_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs: + def __init__(__self__, *, + type: pulumi.Input[str], + with_: pulumi.Input[str], + substring: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] type: Table widget text format replace all type. + :param pulumi.Input[str] with_: Table Widget Match String. + :param pulumi.Input[str] substring: Text that will be replaced. Must be used with type `substring`. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "with_", with_) + if substring is not None: + pulumi.set(__self__, "substring", substring) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + Table widget text format replace all type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="with") + def with_(self) -> pulumi.Input[str]: + """ + Table Widget Match String. + """ + return pulumi.get(self, "with_") + + @with_.setter + def with_(self, value: pulumi.Input[str]): + pulumi.set(self, "with_", value) + + @property + @pulumi.getter + def substring(self) -> Optional[pulumi.Input[str]]: + """ + Text that will be replaced. Must be used with type `substring`. + """ + return pulumi.get(self, "substring") + + @substring.setter + def substring(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "substring", value) + + @pulumi.input_type class PowerpackWidgetQueryValueDefinitionArgs: def __init__(__self__, *, @@ -75248,6 +75767,7 @@ def __init__(__self__, *, custom_links: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionCustomLinkArgs']]]] = None, live_span: Optional[pulumi.Input[str]] = None, requests: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionRequestArgs']]]] = None, + styles: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleArgs']]]] = None, title: Optional[pulumi.Input[str]] = None, title_align: Optional[pulumi.Input[str]] = None, title_size: Optional[pulumi.Input[str]] = None): @@ -75255,6 +75775,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionCustomLinkArgs']]] custom_links: A nested block describing a custom link. Multiple `custom_link` blocks are allowed using the structure below. :param pulumi.Input[str] live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. :param pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionRequestArgs']]] requests: 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`, `apm_query`, `log_query`, `rum_query`, `security_query` or `process_query` is required within the `request` block). + :param pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleArgs']]] styles: The style of the widget :param pulumi.Input[str] title: The title of the widget. :param pulumi.Input[str] title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param pulumi.Input[str] title_size: The size of the widget's title (defaults to 16). @@ -75265,6 +75786,8 @@ def __init__(__self__, *, pulumi.set(__self__, "live_span", live_span) if requests is not None: pulumi.set(__self__, "requests", requests) + if styles is not None: + pulumi.set(__self__, "styles", styles) if title is not None: pulumi.set(__self__, "title", title) if title_align is not None: @@ -75308,6 +75831,18 @@ def requests(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidg def requests(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionRequestArgs']]]]): pulumi.set(self, "requests", value) + @property + @pulumi.getter + def styles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleArgs']]]]: + """ + The style of the widget + """ + return pulumi.get(self, "styles") + + @styles.setter + def styles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleArgs']]]]): + pulumi.set(self, "styles", value) + @property @pulumi.getter def title(self) -> Optional[pulumi.Input[str]]: @@ -78924,6 +79459,67 @@ def palette(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "palette", value) +@pulumi.input_type +class PowerpackWidgetToplistDefinitionStyleArgs: + def __init__(__self__, *, + displays: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleDisplayArgs']]]] = None, + palette: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleDisplayArgs']]] displays: The display mode for the widget. + :param pulumi.Input[str] palette: The color palette for the widget. + """ + if displays is not None: + pulumi.set(__self__, "displays", displays) + if palette is not None: + pulumi.set(__self__, "palette", palette) + + @property + @pulumi.getter + def displays(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleDisplayArgs']]]]: + """ + The display mode for the widget. + """ + return pulumi.get(self, "displays") + + @displays.setter + def displays(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PowerpackWidgetToplistDefinitionStyleDisplayArgs']]]]): + pulumi.set(self, "displays", value) + + @property + @pulumi.getter + def palette(self) -> Optional[pulumi.Input[str]]: + """ + The color palette for the widget. + """ + return pulumi.get(self, "palette") + + @palette.setter + def palette(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "palette", value) + + +@pulumi.input_type +class PowerpackWidgetToplistDefinitionStyleDisplayArgs: + def __init__(__self__, *, + type: pulumi.Input[str]): + """ + :param pulumi.Input[str] type: The display type for the widget. + """ + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + The display type for the widget. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @pulumi.input_type class PowerpackWidgetTopologyMapDefinitionArgs: def __init__(__self__, *, @@ -83196,8 +83792,9 @@ def value(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class SyntheticsTestApiStepAssertionArgs: def __init__(__self__, *, - operator: pulumi.Input[str], type: pulumi.Input[str], + code: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, property: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, targetjsonpath: Optional[pulumi.Input['SyntheticsTestApiStepAssertionTargetjsonpathArgs']] = None, @@ -83205,8 +83802,9 @@ def __init__(__self__, *, targetxpath: Optional[pulumi.Input['SyntheticsTestApiStepAssertionTargetxpathArgs']] = None, timings_scope: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[str] type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. + :param pulumi.Input[str] code: If assertion type is `javascript`, this is the JavaScript code that performs the assertions. :param pulumi.Input[str] operator: Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - :param pulumi.Input[str] type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. :param pulumi.Input[str] property: If assertion type is `header`, this is the header name. :param pulumi.Input[str] target: Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. :param pulumi.Input['SyntheticsTestApiStepAssertionTargetjsonpathArgs'] targetjsonpath: Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below. @@ -83214,8 +83812,11 @@ def __init__(__self__, *, :param pulumi.Input['SyntheticsTestApiStepAssertionTargetxpathArgs'] targetxpath: Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below. :param pulumi.Input[str] timings_scope: Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. """ - pulumi.set(__self__, "operator", operator) pulumi.set(__self__, "type", type) + if code is not None: + pulumi.set(__self__, "code", code) + if operator is not None: + pulumi.set(__self__, "operator", operator) if property is not None: pulumi.set(__self__, "property", property) if target is not None: @@ -83231,27 +83832,39 @@ def __init__(__self__, *, @property @pulumi.getter - def operator(self) -> pulumi.Input[str]: + def type(self) -> pulumi.Input[str]: """ - Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. """ - return pulumi.get(self, "operator") + return pulumi.get(self, "type") - @operator.setter - def operator(self, value: pulumi.Input[str]): - pulumi.set(self, "operator", value) + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) @property @pulumi.getter - def type(self) -> pulumi.Input[str]: + def code(self) -> Optional[pulumi.Input[str]]: """ - Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + If assertion type is `javascript`, this is the JavaScript code that performs the assertions. """ - return pulumi.get(self, "type") + return pulumi.get(self, "code") - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[str]]: + """ + Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property @pulumi.getter @@ -84541,8 +85154,9 @@ def interval(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class SyntheticsTestAssertionArgs: def __init__(__self__, *, - operator: pulumi.Input[str], type: pulumi.Input[str], + code: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, property: Optional[pulumi.Input[str]] = None, target: Optional[pulumi.Input[str]] = None, targetjsonpath: Optional[pulumi.Input['SyntheticsTestAssertionTargetjsonpathArgs']] = None, @@ -84550,8 +85164,9 @@ def __init__(__self__, *, targetxpath: Optional[pulumi.Input['SyntheticsTestAssertionTargetxpathArgs']] = None, timings_scope: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[str] type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. + :param pulumi.Input[str] code: If assertion type is `javascript`, this is the JavaScript code that performs the assertions. :param pulumi.Input[str] operator: Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - :param pulumi.Input[str] type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. :param pulumi.Input[str] property: If assertion type is `header`, this is the header name. :param pulumi.Input[str] target: Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. :param pulumi.Input['SyntheticsTestAssertionTargetjsonpathArgs'] targetjsonpath: Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below. @@ -84559,8 +85174,11 @@ def __init__(__self__, *, :param pulumi.Input['SyntheticsTestAssertionTargetxpathArgs'] targetxpath: Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below. :param pulumi.Input[str] timings_scope: Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. """ - pulumi.set(__self__, "operator", operator) pulumi.set(__self__, "type", type) + if code is not None: + pulumi.set(__self__, "code", code) + if operator is not None: + pulumi.set(__self__, "operator", operator) if property is not None: pulumi.set(__self__, "property", property) if target is not None: @@ -84576,27 +85194,39 @@ def __init__(__self__, *, @property @pulumi.getter - def operator(self) -> pulumi.Input[str]: + def type(self) -> pulumi.Input[str]: """ - Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. """ - return pulumi.get(self, "operator") + return pulumi.get(self, "type") - @operator.setter - def operator(self, value: pulumi.Input[str]): - pulumi.set(self, "operator", value) + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) @property @pulumi.getter - def type(self) -> pulumi.Input[str]: + def code(self) -> Optional[pulumi.Input[str]]: """ - Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + If assertion type is `javascript`, this is the JavaScript code that performs the assertions. """ - return pulumi.get(self, "type") + return pulumi.get(self, "code") - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) + @code.setter + def code(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "code", value) + + @property + @pulumi.getter + def operator(self) -> Optional[pulumi.Input[str]]: + """ + Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + """ + return pulumi.get(self, "operator") + + @operator.setter + def operator(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "operator", value) @property @pulumi.getter @@ -85493,7 +86123,7 @@ def __init__(__self__, *, secure: Optional[pulumi.Input[bool]] = None): """ :param pulumi.Input[str] name: Name of the variable. - :param pulumi.Input[str] type: Type of test configuration variable. Valid values are `global`, `text`. + :param pulumi.Input[str] type: Type of test configuration variable. Valid values are `global`, `text`, `email`. :param pulumi.Input[str] id: When type = `global`, ID of the global variable to use. :param pulumi.Input[bool] secure: Whether the value of this variable will be obfuscated in test results. Defaults to `false`. """ @@ -85524,7 +86154,7 @@ def name(self, value: pulumi.Input[str]): @pulumi.getter def type(self) -> pulumi.Input[str]: """ - Type of test configuration variable. Valid values are `global`, `text`. + Type of test configuration variable. Valid values are `global`, `text`, `email`. """ return pulumi.get(self, "type") diff --git a/sdk/python/pulumi_datadog/logs_index.py b/sdk/python/pulumi_datadog/logs_index.py index 599b006c8..31c4a7c88 100644 --- a/sdk/python/pulumi_datadog/logs_index.py +++ b/sdk/python/pulumi_datadog/logs_index.py @@ -23,6 +23,7 @@ def __init__(__self__, *, daily_limit_warning_threshold_percentage: Optional[pulumi.Input[float]] = None, disable_daily_limit: Optional[pulumi.Input[bool]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterArgs']]]] = None, + flex_retention_days: Optional[pulumi.Input[int]] = None, retention_days: Optional[pulumi.Input[int]] = None): """ The set of arguments for constructing a LogsIndex resource. @@ -33,7 +34,8 @@ def __init__(__self__, *, :param pulumi.Input[float] daily_limit_warning_threshold_percentage: A percentage threshold of the daily quota at which a Datadog warning event is generated. :param pulumi.Input[bool] disable_daily_limit: If true, sets the daily*limit value to null and the index is not limited on a daily basis (any specified daily*limit value in the request is ignored). If false or omitted, the index's current daily_limit is maintained. :param pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterArgs']]] exclusion_filters: List of exclusion filters. - :param pulumi.Input[int] retention_days: The number of days before logs are deleted from this index. + :param pulumi.Input[int] flex_retention_days: The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + :param pulumi.Input[int] retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ pulumi.set(__self__, "filters", filters) pulumi.set(__self__, "name", name) @@ -47,6 +49,8 @@ def __init__(__self__, *, pulumi.set(__self__, "disable_daily_limit", disable_daily_limit) if exclusion_filters is not None: pulumi.set(__self__, "exclusion_filters", exclusion_filters) + if flex_retention_days is not None: + pulumi.set(__self__, "flex_retention_days", flex_retention_days) if retention_days is not None: pulumi.set(__self__, "retention_days", retention_days) @@ -134,11 +138,23 @@ def exclusion_filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Logs def exclusion_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterArgs']]]]): pulumi.set(self, "exclusion_filters", value) + @property + @pulumi.getter(name="flexRetentionDays") + def flex_retention_days(self) -> Optional[pulumi.Input[int]]: + """ + The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + """ + return pulumi.get(self, "flex_retention_days") + + @flex_retention_days.setter + def flex_retention_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "flex_retention_days", value) + @property @pulumi.getter(name="retentionDays") def retention_days(self) -> Optional[pulumi.Input[int]]: """ - The number of days before logs are deleted from this index. + The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ return pulumi.get(self, "retention_days") @@ -156,6 +172,7 @@ def __init__(__self__, *, disable_daily_limit: Optional[pulumi.Input[bool]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterArgs']]]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexFilterArgs']]]] = None, + flex_retention_days: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, retention_days: Optional[pulumi.Input[int]] = None): """ @@ -166,8 +183,9 @@ def __init__(__self__, *, :param pulumi.Input[bool] disable_daily_limit: If true, sets the daily*limit value to null and the index is not limited on a daily basis (any specified daily*limit value in the request is ignored). If false or omitted, the index's current daily_limit is maintained. :param pulumi.Input[Sequence[pulumi.Input['LogsIndexExclusionFilterArgs']]] exclusion_filters: List of exclusion filters. :param pulumi.Input[Sequence[pulumi.Input['LogsIndexFilterArgs']]] filters: Logs filter + :param pulumi.Input[int] flex_retention_days: The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. :param pulumi.Input[str] name: The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. - :param pulumi.Input[int] retention_days: The number of days before logs are deleted from this index. + :param pulumi.Input[int] retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ if daily_limit is not None: pulumi.set(__self__, "daily_limit", daily_limit) @@ -181,6 +199,8 @@ def __init__(__self__, *, pulumi.set(__self__, "exclusion_filters", exclusion_filters) if filters is not None: pulumi.set(__self__, "filters", filters) + if flex_retention_days is not None: + pulumi.set(__self__, "flex_retention_days", flex_retention_days) if name is not None: pulumi.set(__self__, "name", name) if retention_days is not None: @@ -258,6 +278,18 @@ def filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexFilte def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LogsIndexFilterArgs']]]]): pulumi.set(self, "filters", value) + @property + @pulumi.getter(name="flexRetentionDays") + def flex_retention_days(self) -> Optional[pulumi.Input[int]]: + """ + The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + """ + return pulumi.get(self, "flex_retention_days") + + @flex_retention_days.setter + def flex_retention_days(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "flex_retention_days", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -274,7 +306,7 @@ def name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="retentionDays") def retention_days(self) -> Optional[pulumi.Input[int]]: """ - The number of days before logs are deleted from this index. + The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ return pulumi.get(self, "retention_days") @@ -294,6 +326,7 @@ def __init__(__self__, disable_daily_limit: Optional[pulumi.Input[bool]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexExclusionFilterArgs', 'LogsIndexExclusionFilterArgsDict']]]]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexFilterArgs', 'LogsIndexFilterArgsDict']]]]] = None, + flex_retention_days: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, retention_days: Optional[pulumi.Input[int]] = None, __props__=None): @@ -314,6 +347,7 @@ def __init__(__self__, }, daily_limit_warning_threshold_percentage=50, retention_days=7, + flex_retention_days=180, filters=[{ "query": "*", }], @@ -351,8 +385,9 @@ def __init__(__self__, :param pulumi.Input[bool] disable_daily_limit: If true, sets the daily*limit value to null and the index is not limited on a daily basis (any specified daily*limit value in the request is ignored). If false or omitted, the index's current daily_limit is maintained. :param pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexExclusionFilterArgs', 'LogsIndexExclusionFilterArgsDict']]]] exclusion_filters: List of exclusion filters. :param pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexFilterArgs', 'LogsIndexFilterArgsDict']]]] filters: Logs filter + :param pulumi.Input[int] flex_retention_days: The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. :param pulumi.Input[str] name: The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. - :param pulumi.Input[int] retention_days: The number of days before logs are deleted from this index. + :param pulumi.Input[int] retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ ... @overload @@ -377,6 +412,7 @@ def __init__(__self__, }, daily_limit_warning_threshold_percentage=50, retention_days=7, + flex_retention_days=180, filters=[{ "query": "*", }], @@ -427,6 +463,7 @@ def _internal_init(__self__, disable_daily_limit: Optional[pulumi.Input[bool]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexExclusionFilterArgs', 'LogsIndexExclusionFilterArgsDict']]]]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexFilterArgs', 'LogsIndexFilterArgsDict']]]]] = None, + flex_retention_days: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, retention_days: Optional[pulumi.Input[int]] = None, __props__=None): @@ -446,6 +483,7 @@ def _internal_init(__self__, if filters is None and not opts.urn: raise TypeError("Missing required property 'filters'") __props__.__dict__["filters"] = filters + __props__.__dict__["flex_retention_days"] = flex_retention_days if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name @@ -466,6 +504,7 @@ def get(resource_name: str, disable_daily_limit: Optional[pulumi.Input[bool]] = None, exclusion_filters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexExclusionFilterArgs', 'LogsIndexExclusionFilterArgsDict']]]]] = None, filters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexFilterArgs', 'LogsIndexFilterArgsDict']]]]] = None, + flex_retention_days: Optional[pulumi.Input[int]] = None, name: Optional[pulumi.Input[str]] = None, retention_days: Optional[pulumi.Input[int]] = None) -> 'LogsIndex': """ @@ -481,8 +520,9 @@ def get(resource_name: str, :param pulumi.Input[bool] disable_daily_limit: If true, sets the daily*limit value to null and the index is not limited on a daily basis (any specified daily*limit value in the request is ignored). If false or omitted, the index's current daily_limit is maintained. :param pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexExclusionFilterArgs', 'LogsIndexExclusionFilterArgsDict']]]] exclusion_filters: List of exclusion filters. :param pulumi.Input[Sequence[pulumi.Input[Union['LogsIndexFilterArgs', 'LogsIndexFilterArgsDict']]]] filters: Logs filter + :param pulumi.Input[int] flex_retention_days: The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. :param pulumi.Input[str] name: The name of the index. Index names cannot be modified after creation. If this value is changed, a new index will be created. - :param pulumi.Input[int] retention_days: The number of days before logs are deleted from this index. + :param pulumi.Input[int] retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -494,6 +534,7 @@ def get(resource_name: str, __props__.__dict__["disable_daily_limit"] = disable_daily_limit __props__.__dict__["exclusion_filters"] = exclusion_filters __props__.__dict__["filters"] = filters + __props__.__dict__["flex_retention_days"] = flex_retention_days __props__.__dict__["name"] = name __props__.__dict__["retention_days"] = retention_days return LogsIndex(resource_name, opts=opts, __props__=__props__) @@ -546,6 +587,14 @@ def filters(self) -> pulumi.Output[Sequence['outputs.LogsIndexFilter']]: """ return pulumi.get(self, "filters") + @property + @pulumi.getter(name="flexRetentionDays") + def flex_retention_days(self) -> pulumi.Output[int]: + """ + The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + """ + return pulumi.get(self, "flex_retention_days") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: @@ -558,7 +607,7 @@ def name(self) -> pulumi.Output[str]: @pulumi.getter(name="retentionDays") def retention_days(self) -> pulumi.Output[int]: """ - The number of days before logs are deleted from this index. + The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ return pulumi.get(self, "retention_days") diff --git a/sdk/python/pulumi_datadog/outputs.py b/sdk/python/pulumi_datadog/outputs.py index f480e65e0..6b3cc48a9 100644 --- a/sdk/python/pulumi_datadog/outputs.py +++ b/sdk/python/pulumi_datadog/outputs.py @@ -161,6 +161,10 @@ 'DashboardWidgetQueryTableDefinitionRequestQueryMetricQuery', 'DashboardWidgetQueryTableDefinitionRequestQueryProcessQuery', 'DashboardWidgetQueryTableDefinitionRequestQuerySloQuery', + 'DashboardWidgetQueryTableDefinitionRequestTextFormat', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch', + 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace', 'DashboardWidgetQueryValueDefinition', 'DashboardWidgetQueryValueDefinitionCustomLink', 'DashboardWidgetQueryValueDefinitionRequest', @@ -336,6 +340,8 @@ 'DashboardWidgetToplistDefinitionRequestQueryProcessQuery', 'DashboardWidgetToplistDefinitionRequestQuerySloQuery', 'DashboardWidgetToplistDefinitionRequestStyle', + 'DashboardWidgetToplistDefinitionStyle', + 'DashboardWidgetToplistDefinitionStyleDisplay', 'DashboardWidgetTopologyMapDefinition', 'DashboardWidgetTopologyMapDefinitionCustomLink', 'DashboardWidgetTopologyMapDefinitionRequest', @@ -693,6 +699,10 @@ 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBy', 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryGroupBySortQuery', 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryMultiCompute', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormat', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch', + 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace', 'PowerpackWidgetQueryValueDefinition', 'PowerpackWidgetQueryValueDefinitionCustomLink', 'PowerpackWidgetQueryValueDefinitionRequest', @@ -970,6 +980,8 @@ 'PowerpackWidgetToplistDefinitionRequestSecurityQueryGroupBySortQuery', 'PowerpackWidgetToplistDefinitionRequestSecurityQueryMultiCompute', 'PowerpackWidgetToplistDefinitionRequestStyle', + 'PowerpackWidgetToplistDefinitionStyle', + 'PowerpackWidgetToplistDefinitionStyleDisplay', 'PowerpackWidgetTopologyMapDefinition', 'PowerpackWidgetTopologyMapDefinitionCustomLink', 'PowerpackWidgetTopologyMapDefinitionRequest', @@ -12511,6 +12523,8 @@ def __key_warning(key: str): suggest = "rum_query" elif key == "securityQuery": suggest = "security_query" + elif key == "textFormats": + suggest = "text_formats" if suggest: pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequest. Access the value via the '{suggest}' property getter instead.") @@ -12538,7 +12552,8 @@ def __init__(__self__, *, q: Optional[str] = None, queries: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestQuery']] = None, rum_query: Optional['outputs.DashboardWidgetRumQuery'] = None, - security_query: Optional['outputs.DashboardWidgetSecurityQuery'] = None): + security_query: Optional['outputs.DashboardWidgetSecurityQuery'] = None, + text_formats: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestTextFormat']] = None): """ :param str aggregator: The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. :param str alias: The alias for the column name (defaults to metric name). @@ -12552,6 +12567,7 @@ def __init__(__self__, *, :param str q: The metric query to use for this widget. :param 'DashboardWidgetRumQueryArgs' rum_query: The query to use for this widget. :param 'DashboardWidgetSecurityQueryArgs' security_query: The query to use for this widget. + :param Sequence['DashboardWidgetQueryTableDefinitionRequestTextFormatArgs'] text_formats: Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. """ if aggregator is not None: pulumi.set(__self__, "aggregator", aggregator) @@ -12583,6 +12599,8 @@ def __init__(__self__, *, pulumi.set(__self__, "rum_query", rum_query) if security_query is not None: pulumi.set(__self__, "security_query", security_query) + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) @property @pulumi.getter @@ -12695,6 +12713,14 @@ def security_query(self) -> Optional['outputs.DashboardWidgetSecurityQuery']: """ return pulumi.get(self, "security_query") + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestTextFormat']]: + """ + Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + """ + return pulumi.get(self, "text_formats") + @pulumi.output_type class DashboardWidgetQueryTableDefinitionRequestApmStatsQuery(dict): @@ -14545,6 +14571,214 @@ def slo_query_type(self) -> Optional[str]: return pulumi.get(self, "slo_query_type") +@pulumi.output_type +class DashboardWidgetQueryTableDefinitionRequestTextFormat(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "textFormats": + suggest = "text_formats" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestTextFormat. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetQueryTableDefinitionRequestTextFormat.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetQueryTableDefinitionRequestTextFormat.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + text_formats: Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat']] = None): + """ + :param Sequence['DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs'] text_formats: The text format to apply to the items in a table widget column. + """ + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) + + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[Sequence['outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat']]: + """ + The text format to apply to the items in a table widget column. + """ + return pulumi.get(self, "text_formats") + + +@pulumi.output_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "customBgColor": + suggest = "custom_bg_color" + elif key == "customFgColor": + suggest = "custom_fg_color" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormat.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + match: 'outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch', + custom_bg_color: Optional[str] = None, + custom_fg_color: Optional[str] = None, + palette: Optional[str] = None, + replace: Optional['outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace'] = None): + """ + :param 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs' match: Match rule for the table widget text format. + :param str custom_bg_color: The custom color palette to apply to the background. + :param str custom_fg_color: The custom color palette to apply to the foreground text. + :param str palette: The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + :param 'DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs' replace: Match rule for the table widget text format. + """ + pulumi.set(__self__, "match", match) + if custom_bg_color is not None: + pulumi.set(__self__, "custom_bg_color", custom_bg_color) + if custom_fg_color is not None: + pulumi.set(__self__, "custom_fg_color", custom_fg_color) + if palette is not None: + pulumi.set(__self__, "palette", palette) + if replace is not None: + pulumi.set(__self__, "replace", replace) + + @property + @pulumi.getter + def match(self) -> 'outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch': + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "match") + + @property + @pulumi.getter(name="customBgColor") + def custom_bg_color(self) -> Optional[str]: + """ + The custom color palette to apply to the background. + """ + return pulumi.get(self, "custom_bg_color") + + @property + @pulumi.getter(name="customFgColor") + def custom_fg_color(self) -> Optional[str]: + """ + The custom color palette to apply to the foreground text. + """ + return pulumi.get(self, "custom_fg_color") + + @property + @pulumi.getter + def palette(self) -> Optional[str]: + """ + The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + """ + return pulumi.get(self, "palette") + + @property + @pulumi.getter + def replace(self) -> Optional['outputs.DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace']: + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "replace") + + +@pulumi.output_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch(dict): + def __init__(__self__, *, + type: str, + value: str): + """ + :param str type: Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + :param str value: Table Widget Match String. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> str: + """ + Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> str: + """ + Table Widget Match String. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "with": + suggest = "with_" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DashboardWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + with_: str, + substring: Optional[str] = None): + """ + :param str type: Table widget text format replace all type. + :param str with_: Table Widget Match String. + :param str substring: Text that will be replaced. Must be used with type `substring`. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "with_", with_) + if substring is not None: + pulumi.set(__self__, "substring", substring) + + @property + @pulumi.getter + def type(self) -> str: + """ + Table widget text format replace all type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="with") + def with_(self) -> str: + """ + Table Widget Match String. + """ + return pulumi.get(self, "with_") + + @property + @pulumi.getter + def substring(self) -> Optional[str]: + """ + Text that will be replaced. Must be used with type `substring`. + """ + return pulumi.get(self, "substring") + + @pulumi.output_type class DashboardWidgetQueryValueDefinition(dict): @staticmethod @@ -26389,6 +26623,7 @@ def __init__(__self__, *, custom_links: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionCustomLink']] = None, live_span: Optional[str] = None, requests: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionRequest']] = None, + styles: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionStyle']] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None): @@ -26396,6 +26631,7 @@ def __init__(__self__, *, :param Sequence['DashboardWidgetToplistDefinitionCustomLinkArgs'] custom_links: A nested block describing a custom link. Multiple `custom_link` blocks are allowed using the structure below. :param str live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. :param Sequence['DashboardWidgetToplistDefinitionRequestArgs'] requests: 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`, `apm_query`, `log_query`, `rum_query`, `security_query` or `process_query` is required within the `request` block). + :param Sequence['DashboardWidgetToplistDefinitionStyleArgs'] styles: The style of the widget :param str title: The title of the widget. :param str title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param str title_size: The size of the widget's title (defaults to 16). @@ -26406,6 +26642,8 @@ def __init__(__self__, *, pulumi.set(__self__, "live_span", live_span) if requests is not None: pulumi.set(__self__, "requests", requests) + if styles is not None: + pulumi.set(__self__, "styles", styles) if title is not None: pulumi.set(__self__, "title", title) if title_align is not None: @@ -26437,6 +26675,14 @@ def requests(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitio """ return pulumi.get(self, "requests") + @property + @pulumi.getter + def styles(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionStyle']]: + """ + The style of the widget + """ + return pulumi.get(self, "styles") + @property @pulumi.getter def title(self) -> Optional[str]: @@ -28662,6 +28908,55 @@ def palette(self) -> Optional[str]: return pulumi.get(self, "palette") +@pulumi.output_type +class DashboardWidgetToplistDefinitionStyle(dict): + def __init__(__self__, *, + displays: Optional[Sequence['outputs.DashboardWidgetToplistDefinitionStyleDisplay']] = None, + palette: Optional[str] = None): + """ + :param Sequence['DashboardWidgetToplistDefinitionStyleDisplayArgs'] displays: The display mode for the widget. + :param str palette: The color palette for the widget. + """ + if displays is not None: + pulumi.set(__self__, "displays", displays) + if palette is not None: + pulumi.set(__self__, "palette", palette) + + @property + @pulumi.getter + def displays(self) -> Optional[Sequence['outputs.DashboardWidgetToplistDefinitionStyleDisplay']]: + """ + The display mode for the widget. + """ + return pulumi.get(self, "displays") + + @property + @pulumi.getter + def palette(self) -> Optional[str]: + """ + The color palette for the widget. + """ + return pulumi.get(self, "palette") + + +@pulumi.output_type +class DashboardWidgetToplistDefinitionStyleDisplay(dict): + def __init__(__self__, *, + type: str): + """ + :param str type: The display type for the widget. + """ + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> str: + """ + The display type for the widget. + """ + return pulumi.get(self, "type") + + @pulumi.output_type class DashboardWidgetTopologyMapDefinition(dict): @staticmethod @@ -51215,6 +51510,8 @@ def __key_warning(key: str): suggest = "rum_query" elif key == "securityQuery": suggest = "security_query" + elif key == "textFormats": + suggest = "text_formats" if suggest: pulumi.log.warn(f"Key '{key}' not found in PowerpackWidgetQueryTableDefinitionRequest. Access the value via the '{suggest}' property getter instead.") @@ -51242,7 +51539,8 @@ def __init__(__self__, *, q: Optional[str] = None, queries: Optional[Sequence['outputs.PowerpackWidgetQueryTableDefinitionRequestQuery']] = None, rum_query: Optional['outputs.PowerpackWidgetQueryTableDefinitionRequestRumQuery'] = None, - security_query: Optional['outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery'] = None): + security_query: Optional['outputs.PowerpackWidgetQueryTableDefinitionRequestSecurityQuery'] = None, + text_formats: Optional[Sequence['outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormat']] = None): """ :param str aggregator: The aggregator to use for time aggregation. Valid values are `avg`, `last`, `max`, `min`, `sum`, `percentile`. :param str alias: The alias for the column name (defaults to metric name). @@ -51256,6 +51554,7 @@ def __init__(__self__, *, :param str q: The metric query to use for this widget. :param 'PowerpackWidgetQueryTableDefinitionRequestRumQueryArgs' rum_query: The query to use for this widget. :param 'PowerpackWidgetQueryTableDefinitionRequestSecurityQueryArgs' security_query: The query to use for this widget. + :param Sequence['PowerpackWidgetQueryTableDefinitionRequestTextFormatArgs'] text_formats: Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. """ if aggregator is not None: pulumi.set(__self__, "aggregator", aggregator) @@ -51287,6 +51586,8 @@ def __init__(__self__, *, pulumi.set(__self__, "rum_query", rum_query) if security_query is not None: pulumi.set(__self__, "security_query", security_query) + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) @property @pulumi.getter @@ -51399,6 +51700,14 @@ def security_query(self) -> Optional['outputs.PowerpackWidgetQueryTableDefinitio """ return pulumi.get(self, "security_query") + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[Sequence['outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormat']]: + """ + Text formats define how to format text in table widget content. Multiple `text_formats` blocks are allowed using the structure below. This resource is in beta and is subject to change. + """ + return pulumi.get(self, "text_formats") + @pulumi.output_type class PowerpackWidgetQueryTableDefinitionRequestApmQuery(dict): @@ -54345,6 +54654,214 @@ def interval(self) -> Optional[int]: return pulumi.get(self, "interval") +@pulumi.output_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormat(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "textFormats": + suggest = "text_formats" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PowerpackWidgetQueryTableDefinitionRequestTextFormat. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PowerpackWidgetQueryTableDefinitionRequestTextFormat.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PowerpackWidgetQueryTableDefinitionRequestTextFormat.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + text_formats: Optional[Sequence['outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat']] = None): + """ + :param Sequence['PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatArgs'] text_formats: The text format to apply to the items in a table widget column. + """ + if text_formats is not None: + pulumi.set(__self__, "text_formats", text_formats) + + @property + @pulumi.getter(name="textFormats") + def text_formats(self) -> Optional[Sequence['outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat']]: + """ + The text format to apply to the items in a table widget column. + """ + return pulumi.get(self, "text_formats") + + +@pulumi.output_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "customBgColor": + suggest = "custom_bg_color" + elif key == "customFgColor": + suggest = "custom_fg_color" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormat.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + match: 'outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch', + custom_bg_color: Optional[str] = None, + custom_fg_color: Optional[str] = None, + palette: Optional[str] = None, + replace: Optional['outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace'] = None): + """ + :param 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatchArgs' match: Match rule for the table widget text format. + :param str custom_bg_color: The custom color palette to apply to the background. + :param str custom_fg_color: The custom color palette to apply to the foreground text. + :param str palette: The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + :param 'PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplaceArgs' replace: Match rule for the table widget text format. + """ + pulumi.set(__self__, "match", match) + if custom_bg_color is not None: + pulumi.set(__self__, "custom_bg_color", custom_bg_color) + if custom_fg_color is not None: + pulumi.set(__self__, "custom_fg_color", custom_fg_color) + if palette is not None: + pulumi.set(__self__, "palette", palette) + if replace is not None: + pulumi.set(__self__, "replace", replace) + + @property + @pulumi.getter + def match(self) -> 'outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch': + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "match") + + @property + @pulumi.getter(name="customBgColor") + def custom_bg_color(self) -> Optional[str]: + """ + The custom color palette to apply to the background. + """ + return pulumi.get(self, "custom_bg_color") + + @property + @pulumi.getter(name="customFgColor") + def custom_fg_color(self) -> Optional[str]: + """ + The custom color palette to apply to the foreground text. + """ + return pulumi.get(self, "custom_fg_color") + + @property + @pulumi.getter + def palette(self) -> Optional[str]: + """ + The color palette to apply. Valid values are `white_on_red`, `white_on_yellow`, `white_on_green`, `black_on_light_red`, `black_on_light_yellow`, `black_on_light_green`, `red_on_white`, `yellow_on_white`, `green_on_white`, `custom_bg`, `custom_text`. + """ + return pulumi.get(self, "palette") + + @property + @pulumi.getter + def replace(self) -> Optional['outputs.PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace']: + """ + Match rule for the table widget text format. + """ + return pulumi.get(self, "replace") + + +@pulumi.output_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatMatch(dict): + def __init__(__self__, *, + type: str, + value: str): + """ + :param str type: Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + :param str value: Table Widget Match String. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def type(self) -> str: + """ + Match or compare option. Valid values are `is`, `is_not`, `contains`, `does_not_contain`, `starts_with`, `ends_with`. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter + def value(self) -> str: + """ + Table Widget Match String. + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "with": + suggest = "with_" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PowerpackWidgetQueryTableDefinitionRequestTextFormatTextFormatReplace.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + with_: str, + substring: Optional[str] = None): + """ + :param str type: Table widget text format replace all type. + :param str with_: Table Widget Match String. + :param str substring: Text that will be replaced. Must be used with type `substring`. + """ + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "with_", with_) + if substring is not None: + pulumi.set(__self__, "substring", substring) + + @property + @pulumi.getter + def type(self) -> str: + """ + Table widget text format replace all type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="with") + def with_(self) -> str: + """ + Table Widget Match String. + """ + return pulumi.get(self, "with_") + + @property + @pulumi.getter + def substring(self) -> Optional[str]: + """ + Text that will be replaced. Must be used with type `substring`. + """ + return pulumi.get(self, "substring") + + @pulumi.output_type class PowerpackWidgetQueryValueDefinition(dict): @staticmethod @@ -70634,6 +71151,7 @@ def __init__(__self__, *, custom_links: Optional[Sequence['outputs.PowerpackWidgetToplistDefinitionCustomLink']] = None, live_span: Optional[str] = None, requests: Optional[Sequence['outputs.PowerpackWidgetToplistDefinitionRequest']] = None, + styles: Optional[Sequence['outputs.PowerpackWidgetToplistDefinitionStyle']] = None, title: Optional[str] = None, title_align: Optional[str] = None, title_size: Optional[str] = None): @@ -70641,6 +71159,7 @@ def __init__(__self__, *, :param Sequence['PowerpackWidgetToplistDefinitionCustomLinkArgs'] custom_links: A nested block describing a custom link. Multiple `custom_link` blocks are allowed using the structure below. :param str live_span: The timeframe to use when displaying the widget. Valid values are `1m`, `5m`, `10m`, `15m`, `30m`, `1h`, `4h`, `1d`, `2d`, `1w`, `1mo`, `3mo`, `6mo`, `week_to_date`, `month_to_date`, `1y`, `alert`. :param Sequence['PowerpackWidgetToplistDefinitionRequestArgs'] requests: 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`, `apm_query`, `log_query`, `rum_query`, `security_query` or `process_query` is required within the `request` block). + :param Sequence['PowerpackWidgetToplistDefinitionStyleArgs'] styles: The style of the widget :param str title: The title of the widget. :param str title_align: The alignment of the widget's title. Valid values are `center`, `left`, `right`. :param str title_size: The size of the widget's title (defaults to 16). @@ -70651,6 +71170,8 @@ def __init__(__self__, *, pulumi.set(__self__, "live_span", live_span) if requests is not None: pulumi.set(__self__, "requests", requests) + if styles is not None: + pulumi.set(__self__, "styles", styles) if title is not None: pulumi.set(__self__, "title", title) if title_align is not None: @@ -70682,6 +71203,14 @@ def requests(self) -> Optional[Sequence['outputs.PowerpackWidgetToplistDefinitio """ return pulumi.get(self, "requests") + @property + @pulumi.getter + def styles(self) -> Optional[Sequence['outputs.PowerpackWidgetToplistDefinitionStyle']]: + """ + The style of the widget + """ + return pulumi.get(self, "styles") + @property @pulumi.getter def title(self) -> Optional[str]: @@ -74003,6 +74532,55 @@ def palette(self) -> Optional[str]: return pulumi.get(self, "palette") +@pulumi.output_type +class PowerpackWidgetToplistDefinitionStyle(dict): + def __init__(__self__, *, + displays: Optional[Sequence['outputs.PowerpackWidgetToplistDefinitionStyleDisplay']] = None, + palette: Optional[str] = None): + """ + :param Sequence['PowerpackWidgetToplistDefinitionStyleDisplayArgs'] displays: The display mode for the widget. + :param str palette: The color palette for the widget. + """ + if displays is not None: + pulumi.set(__self__, "displays", displays) + if palette is not None: + pulumi.set(__self__, "palette", palette) + + @property + @pulumi.getter + def displays(self) -> Optional[Sequence['outputs.PowerpackWidgetToplistDefinitionStyleDisplay']]: + """ + The display mode for the widget. + """ + return pulumi.get(self, "displays") + + @property + @pulumi.getter + def palette(self) -> Optional[str]: + """ + The color palette for the widget. + """ + return pulumi.get(self, "palette") + + +@pulumi.output_type +class PowerpackWidgetToplistDefinitionStyleDisplay(dict): + def __init__(__self__, *, + type: str): + """ + :param str type: The display type for the widget. + """ + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter + def type(self) -> str: + """ + The display type for the widget. + """ + return pulumi.get(self, "type") + + @pulumi.output_type class PowerpackWidgetTopologyMapDefinition(dict): @staticmethod @@ -78142,8 +78720,9 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - operator: str, type: str, + code: Optional[str] = None, + operator: Optional[str] = None, property: Optional[str] = None, target: Optional[str] = None, targetjsonpath: Optional['outputs.SyntheticsTestApiStepAssertionTargetjsonpath'] = None, @@ -78151,8 +78730,9 @@ def __init__(__self__, *, targetxpath: Optional['outputs.SyntheticsTestApiStepAssertionTargetxpath'] = None, timings_scope: Optional[str] = None): """ + :param str type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. + :param str code: If assertion type is `javascript`, this is the JavaScript code that performs the assertions. :param str operator: Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - :param str type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. :param str property: If assertion type is `header`, this is the header name. :param str target: Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. :param 'SyntheticsTestApiStepAssertionTargetjsonpathArgs' targetjsonpath: Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below. @@ -78160,8 +78740,11 @@ def __init__(__self__, *, :param 'SyntheticsTestApiStepAssertionTargetxpathArgs' targetxpath: Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below. :param str timings_scope: Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. """ - pulumi.set(__self__, "operator", operator) pulumi.set(__self__, "type", type) + if code is not None: + pulumi.set(__self__, "code", code) + if operator is not None: + pulumi.set(__self__, "operator", operator) if property is not None: pulumi.set(__self__, "property", property) if target is not None: @@ -78177,19 +78760,27 @@ def __init__(__self__, *, @property @pulumi.getter - def operator(self) -> str: + def type(self) -> str: """ - Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. """ - return pulumi.get(self, "operator") + return pulumi.get(self, "type") @property @pulumi.getter - def type(self) -> str: + def code(self) -> Optional[str]: """ - Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + If assertion type is `javascript`, this is the JavaScript code that performs the assertions. """ - return pulumi.get(self, "type") + return pulumi.get(self, "code") + + @property + @pulumi.getter + def operator(self) -> Optional[str]: + """ + Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + """ + return pulumi.get(self, "operator") @property @pulumi.getter @@ -79274,8 +79865,9 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, - operator: str, type: str, + code: Optional[str] = None, + operator: Optional[str] = None, property: Optional[str] = None, target: Optional[str] = None, targetjsonpath: Optional['outputs.SyntheticsTestAssertionTargetjsonpath'] = None, @@ -79283,8 +79875,9 @@ def __init__(__self__, *, targetxpath: Optional['outputs.SyntheticsTestAssertionTargetxpath'] = None, timings_scope: Optional[str] = None): """ + :param str type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. + :param str code: If assertion type is `javascript`, this is the JavaScript code that performs the assertions. :param str operator: Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). - :param str type: Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. :param str property: If assertion type is `header`, this is the header name. :param str target: Expected value. Depends on the assertion type, refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test) for details. :param 'SyntheticsTestAssertionTargetjsonpathArgs' targetjsonpath: Expected structure if `operator` is `validatesJSONPath`. Exactly one nested block is allowed with the structure below. @@ -79292,8 +79885,11 @@ def __init__(__self__, *, :param 'SyntheticsTestAssertionTargetxpathArgs' targetxpath: Expected structure if `operator` is `validatesXPath`. Exactly one nested block is allowed with the structure below. :param str timings_scope: Timings scope for response time assertions. Valid values are `all`, `withoutDNS`. """ - pulumi.set(__self__, "operator", operator) pulumi.set(__self__, "type", type) + if code is not None: + pulumi.set(__self__, "code", code) + if operator is not None: + pulumi.set(__self__, "operator", operator) if property is not None: pulumi.set(__self__, "property", property) if target is not None: @@ -79309,19 +79905,27 @@ def __init__(__self__, *, @property @pulumi.getter - def operator(self) -> str: + def type(self) -> str: """ - Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`, `javascript`. """ - return pulumi.get(self, "operator") + return pulumi.get(self, "type") @property @pulumi.getter - def type(self) -> str: + def code(self) -> Optional[str]: """ - Type of assertion. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). Valid values are `body`, `header`, `statusCode`, `certificate`, `responseTime`, `property`, `recordEvery`, `recordSome`, `tlsVersion`, `minTlsVersion`, `latency`, `packetLossPercentage`, `packetsReceived`, `networkHop`, `receivedMessage`, `grpcHealthcheckStatus`, `grpcMetadata`, `grpcProto`, `connection`, `bodyHash`. + If assertion type is `javascript`, this is the JavaScript code that performs the assertions. """ - return pulumi.get(self, "type") + return pulumi.get(self, "code") + + @property + @pulumi.getter + def operator(self) -> Optional[str]: + """ + Assertion operator. **Note** Only some combinations of `type` and `operator` are valid (please refer to [Datadog documentation](https://docs.datadoghq.com/api/latest/synthetics/#create-a-test)). + """ + return pulumi.get(self, "operator") @property @pulumi.getter @@ -80067,7 +80671,7 @@ def __init__(__self__, *, secure: Optional[bool] = None): """ :param str name: Name of the variable. - :param str type: Type of test configuration variable. Valid values are `global`, `text`. + :param str type: Type of test configuration variable. Valid values are `global`, `text`, `email`. :param str id: When type = `global`, ID of the global variable to use. :param bool secure: Whether the value of this variable will be obfuscated in test results. Defaults to `false`. """ @@ -80094,7 +80698,7 @@ def name(self) -> str: @pulumi.getter def type(self) -> str: """ - Type of test configuration variable. Valid values are `global`, `text`. + Type of test configuration variable. Valid values are `global`, `text`, `email`. """ return pulumi.get(self, "type") @@ -81727,6 +82331,7 @@ def __init__(__self__, *, daily_limit_warning_threshold_percentage: float, exclusion_filters: Sequence['outputs.GetLogsIndexesLogsIndexExclusionFilterResult'], filters: Sequence['outputs.GetLogsIndexesLogsIndexFilterResult'], + flex_retention_days: int, name: str, retention_days: int): """ @@ -81735,14 +82340,16 @@ def __init__(__self__, *, :param float daily_limit_warning_threshold_percentage: The percentage threshold of the daily quota at which a Datadog warning event is generated. :param Sequence['GetLogsIndexesLogsIndexExclusionFilterArgs'] exclusion_filters: List of exclusion filters. :param Sequence['GetLogsIndexesLogsIndexFilterArgs'] filters: Logs filter + :param int flex_retention_days: The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. :param str name: The name of the index. - :param int retention_days: The number of days before logs are deleted from this index. + :param int retention_days: The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ pulumi.set(__self__, "daily_limit", daily_limit) pulumi.set(__self__, "daily_limit_resets", daily_limit_resets) pulumi.set(__self__, "daily_limit_warning_threshold_percentage", daily_limit_warning_threshold_percentage) pulumi.set(__self__, "exclusion_filters", exclusion_filters) pulumi.set(__self__, "filters", filters) + pulumi.set(__self__, "flex_retention_days", flex_retention_days) pulumi.set(__self__, "name", name) pulumi.set(__self__, "retention_days", retention_days) @@ -81786,6 +82393,14 @@ def filters(self) -> Sequence['outputs.GetLogsIndexesLogsIndexFilterResult']: """ return pulumi.get(self, "filters") + @property + @pulumi.getter(name="flexRetentionDays") + def flex_retention_days(self) -> int: + """ + The total number of days logs are stored in Standard and Flex Tier before being deleted from the index. + """ + return pulumi.get(self, "flex_retention_days") + @property @pulumi.getter def name(self) -> str: @@ -81798,7 +82413,7 @@ def name(self) -> str: @pulumi.getter(name="retentionDays") def retention_days(self) -> int: """ - The number of days before logs are deleted from this index. + The number of days logs are stored in Standard Tier before aging into the Flex Tier or being deleted from the index. """ return pulumi.get(self, "retention_days") diff --git a/upstream b/upstream index 00a795fe6..e8cfa3a80 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 00a795fe6c603a3d298f44bbf38975591f6b7411 +Subproject commit e8cfa3a804408c95a495a90837c0ec763cacc8f2